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

Unified Diff: chrome/browser/views/frame/opaque_browser_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: chrome/browser/views/frame/opaque_browser_frame_view.cc
===================================================================
--- chrome/browser/views/frame/opaque_browser_frame_view.cc (revision 38171)
+++ chrome/browser/views/frame/opaque_browser_frame_view.cc (working copy)
@@ -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.
@@ -283,15 +283,6 @@
client_bounds.height() + top_height + border_thickness);
}
-gfx::Point OpaqueBrowserFrameView::GetSystemMenuPoint() const {
- gfx::Point system_menu_point(
- MirroredXCoordinateInsideView(FrameBorderThickness()),
- NonClientTopBorderHeight() + browser_view_->GetTabStripHeight() -
- (frame_->GetWindow()->IsFullscreen() ? 0 : kClientEdgeThickness));
- ConvertPointToScreen(this, &system_menu_point);
- return system_menu_point;
-}
-
int OpaqueBrowserFrameView::NonClientHitTest(const gfx::Point& point) {
if (!bounds().Contains(point))
return HTNOWHERE;

Powered by Google App Engine
This is Rietveld 408576698