summaryrefslogtreecommitdiffstats
path: root/chrome/views/window.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 18:40:10 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 18:40:10 +0000
commit2fb6d466842f445078962a2f5aa4fa7af49d2313 (patch)
tree5c0a8fa678d4a36bb89a61f773f32b6ea5c7d8f0 /chrome/views/window.h
parent830e2069f5c67d74cd4f2720438ea6a9609994c3 (diff)
downloadchromium_src-2fb6d466842f445078962a2f5aa4fa7af49d2313.zip
chromium_src-2fb6d466842f445078962a2f5aa4fa7af49d2313.tar.gz
chromium_src-2fb6d466842f445078962a2f5aa4fa7af49d2313.tar.bz2
Make system menus show up at the right place for all frames, whether they're triggered by clicking the window icon or hitting alt-space. Make clicking the icon for windows without a non-client view (e.g. the Bookmark Manager on Aero Glass) bring up the system menu.
Clean up more dead code, verbose code, or unnecessary statics/members. TEST=Right-click titlebars, hit alt-space, and left-click window icons (where present), for: * Main window * Dialogs, e.g. the bookmark manager * Popups * App windows When right-clicking, a system menu should appear at the cursor. For the other cases, a system menu should appear at the system native location (roughly just below the titlebar). Review URL: http://codereview.chromium.org/20225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/window.h')
-rw-r--r--chrome/views/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/window.h b/chrome/views/window.h
index 69316e4..38fe2bd 100644
--- a/chrome/views/window.h
+++ b/chrome/views/window.h
@@ -155,7 +155,7 @@ class Window : public WidgetWin,
void set_client_view(ClientView* client_view) { client_view_ = client_view; }
// Shows the system menu at the specified screen point.
- void RunSystemMenu(const CPoint& point);
+ void RunSystemMenu(const gfx::Point& point);
// Overridden from WidgetWin:
virtual void OnActivate(UINT action, BOOL minimized, HWND window);