summaryrefslogtreecommitdiffstats
path: root/views/window/window_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window_win.h')
-rw-r--r--views/window/window_win.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/views/window/window_win.h b/views/window/window_win.h
index 12e3d2e..02812aa 100644
--- a/views/window/window_win.h
+++ b/views/window/window_win.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -108,9 +108,6 @@ class WindowWin : public WidgetWin,
// crazily complicated.
virtual gfx::Insets GetClientAreaInsets() const;
- // Shows the system menu at the specified screen point.
- void RunSystemMenu(const gfx::Point& point);
-
// Overridden from WidgetWin:
virtual void OnActivate(UINT action, BOOL minimized, HWND window);
virtual void OnActivateApp(BOOL active, DWORD thread_id);
@@ -129,9 +126,7 @@ class WindowWin : public WidgetWin,
virtual LRESULT OnNCHitTest(const CPoint& point);
virtual void OnNCPaint(HRGN rgn);
virtual void OnNCLButtonDown(UINT ht_component, const CPoint& point);
- virtual void OnNCLButtonUp(UINT ht_component, const CPoint& point);
virtual void OnNCRButtonDown(UINT ht_component, const CPoint& point);
- virtual void OnNCRButtonUp(UINT ht_component, const CPoint& point);
virtual void OnRButtonUp(UINT ht_component, const CPoint& point);
virtual LRESULT OnNCUAHDrawCaption(UINT msg, WPARAM w_param, LPARAM l_param);
virtual LRESULT OnNCUAHDrawFrame(UINT msg, WPARAM w_param, LPARAM l_param);
@@ -294,12 +289,6 @@ class WindowWin : public WidgetWin,
// area. We need this so we can correctly show the context menu on mouse-up.
bool is_right_mouse_pressed_on_caption_;
- // With our current behavior when we track popup menu we capture the mouse
- // so doubleclick does not work. If user doubleclicks on the system icon
- // the menu will be canceled and user will receive WM_NCLBUTTONUP.
- // So we store the last time system menu was opened and canceled
- DWORD last_time_system_menu_clicked_;
-
// The last-seen monitor containing us, and its rect and work area. These are
// used to catch updates to the rect and work area and react accordingly.
HMONITOR last_monitor_;