Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: views/window/custom_frame_view.cc

Issue 577018: Support app menu and double-click close on upper left corner of window, part ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: views/window/custom_frame_view.cc
===================================================================
--- views/window/custom_frame_view.cc (revision 38171)
+++ views/window/custom_frame_view.cc (working copy)
@@ -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.
@@ -138,14 +138,6 @@
client_bounds.height() + top_height + border_thickness);
}
-gfx::Point CustomFrameView::GetSystemMenuPoint() const {
- gfx::Point system_menu_point(
- MirroredXCoordinateInsideView(FrameBorderThickness()),
- NonClientTopBorderHeight() - BottomEdgeThicknessWithinNonClientHeight());
- ConvertPointToScreen(this, &system_menu_point);
- return system_menu_point;
-}
-
int CustomFrameView::NonClientHitTest(const gfx::Point& point) {
// Then see if the point is within any of the window controls.
if (close_button_->GetBounds(APPLY_MIRRORING_TRANSFORMATION).Contains(point))

Powered by Google App Engine
This is Rietveld 408576698