summaryrefslogtreecommitdiffstats
path: root/views/window/native_frame_view.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 05:02:43 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 05:02:43 +0000
commit1255a3e4bb4f30978c79497e4f05db615e197505 (patch)
treed1575c5c0ae3672dd379d6d67838c673b4d7824e /views/window/native_frame_view.h
parent5ce3da1ef045e25ef4c34cfc925fb8a48ad2e87c (diff)
downloadchromium_src-1255a3e4bb4f30978c79497e4f05db615e197505.zip
chromium_src-1255a3e4bb4f30978c79497e4f05db615e197505.tar.gz
chromium_src-1255a3e4bb4f30978c79497e4f05db615e197505.tar.bz2
Support app menu and double-click close on upper left corner of window, part one.
This makes things work right for windows that have an icon. The behavior of the main window is unchanged because right now it never returns HTSYSMENU anywhere. Part two of this change will be figuring out how to return that at the right place, which will make things Just Work. BUG=6961 TEST=Open an app or popup window. Single click the icon. The app menu should appear. Close it, then click-and-drag into the app menu. The item you release on should execute. Double-click the icon. The window should close. Review URL: http://codereview.chromium.org/577018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/native_frame_view.h')
-rw-r--r--views/window/native_frame_view.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/window/native_frame_view.h b/views/window/native_frame_view.h
index e2efa9d..c68941b 100644
--- a/views/window/native_frame_view.h
+++ b/views/window/native_frame_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -20,7 +20,6 @@ class NativeFrameView : public NonClientFrameView {
virtual gfx::Rect GetBoundsForClientView() const;
virtual gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const;
- virtual gfx::Point GetSystemMenuPoint() const;
virtual int NonClientHitTest(const gfx::Point& point);
virtual void GetWindowMask(const gfx::Size& size,
gfx::Path* window_mask);