diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 21:56:10 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 21:56:10 +0000 |
commit | 30d172dec2aeb667710bda68498adb73f5d2ba9e (patch) | |
tree | 902f2773daa1900e76cff84bac2ba9b650afafad /chrome/browser/views/frame/aero_glass_frame.h | |
parent | 0aa5531f4cfa1a5e4fcb571201f6c39221b1260a (diff) | |
download | chromium_src-30d172dec2aeb667710bda68498adb73f5d2ba9e.zip chromium_src-30d172dec2aeb667710bda68498adb73f5d2ba9e.tar.gz chromium_src-30d172dec2aeb667710bda68498adb73f5d2ba9e.tar.bz2 |
Straighten out the way the system menu works a bit. We no longer create the menu every time it is shown (or reset it). Resetting it caused some system-wide system menu items to be voted off the island (e.g. nView desktop manager, and some other third party addins). Resetting also caused some of the NC overpainting issues to be worse.
This simplifies things a bit by creating the menu at frame creation time, then when the menu is run doing enabling only.
Review URL: http://codereview.chromium.org/7497
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/aero_glass_frame.h')
-rw-r--r-- | chrome/browser/views/frame/aero_glass_frame.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/aero_glass_frame.h b/chrome/browser/views/frame/aero_glass_frame.h index 09e391a..ee402af 100644 --- a/chrome/browser/views/frame/aero_glass_frame.h +++ b/chrome/browser/views/frame/aero_glass_frame.h @@ -46,7 +46,6 @@ class AeroGlassFrame : public BrowserFrame, // Overridden from views::ContainerWin: virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); virtual void OnEndSession(BOOL ending, UINT logoff); - virtual void OnExitMenuLoop(bool is_track_popup_menu); virtual LRESULT OnMouseActivate(HWND window, UINT hittest_code, UINT message); |