summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/constrained_window_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/constrained_window_win.cc')
-rw-r--r--chrome/browser/views/constrained_window_win.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/views/constrained_window_win.cc b/chrome/browser/views/constrained_window_win.cc
index e0ff52e..36c3ef7 100644
--- a/chrome/browser/views/constrained_window_win.cc
+++ b/chrome/browser/views/constrained_window_win.cc
@@ -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.
@@ -169,7 +169,6 @@ class ConstrainedWindowFrameView
virtual bool AlwaysUseCustomFrame() 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);
virtual void EnableClose(bool enable);
@@ -322,15 +321,6 @@ gfx::Rect ConstrainedWindowFrameView::GetWindowBoundsForClientBounds(
client_bounds.height() + top_height + border_thickness);
}
-gfx::Point ConstrainedWindowFrameView::GetSystemMenuPoint() const {
- // Doesn't really matter, since we never show system menus on constrained
- // windows...
- gfx::Point system_menu_point(FrameBorderThickness(),
- NonClientTopBorderHeight());
- ConvertPointToScreen(this, &system_menu_point);
- return system_menu_point;
-}
-
int ConstrainedWindowFrameView::NonClientHitTest(const gfx::Point& point) {
if (!bounds().Contains(point))
return HTNOWHERE;