diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 17:34:58 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 17:34:58 +0000 |
commit | cb73f9e24fdf7da411e8861ca6a1c2184569439c (patch) | |
tree | 44be79406f85261fca566ebcdc2b093ac51f9d09 /chrome/browser/tab_contents | |
parent | 402e79a703cc62b290e0963a258e540b2b356a8a (diff) | |
download | chromium_src-cb73f9e24fdf7da411e8861ca6a1c2184569439c.zip chromium_src-cb73f9e24fdf7da411e8861ca6a1c2184569439c.tar.gz chromium_src-cb73f9e24fdf7da411e8861ca6a1c2184569439c.tar.bz2 |
Squash the "Confirm Form Repost" dialog triggered via an external context menu reload - the dialog is modal, but there may not be anything for it to be modal to.
This is a shorter term fix - a longer term fix will be to change the way the dialog is displayed and allow it to be routed through automation.
Review URL: http://codereview.chromium.org/160010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/render_view_context_menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu.h b/chrome/browser/tab_contents/render_view_context_menu.h index 4fc97f6..afa6861 100644 --- a/chrome/browser/tab_contents/render_view_context_menu.h +++ b/chrome/browser/tab_contents/render_view_context_menu.h @@ -59,13 +59,13 @@ class RenderViewContextMenu { // For Linux, we want to know when we have written a URL to the clipboard. // Most platforms won't care. - virtual void DidWriteURLToClipboard(const std::string& url) { }; + virtual void DidWriteURLToClipboard(const std::string& url) { } // Delegate functions -------------------------------------------------------- bool IsItemCommandEnabled(int id) const; bool ItemIsChecked(int id) const; - void ExecuteItemCommand(int id); + virtual void ExecuteItemCommand(int id); protected: ContextMenuParams params_; |