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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 19115003: Make the maximize button more easily hittable when there is a huge amount of tabs present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/browser_view_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 7e7add1d49708df462a35a9dd93f3cd5f2a41a73..e9bbc4517fc8cfc5f2403c2e8354972f50f6572f 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -608,17 +608,6 @@ gfx::ImageSkia BrowserView::GetOTRAvatarIcon() const {
return *GetThemeProvider()->GetImageSkiaNamed(GetOTRIconResourceID());
}
-bool BrowserView::IsPositionInWindowCaption(const gfx::Point& point) {
- if (window_switcher_button_) {
- gfx::Point window_switcher_point(point);
- views::View::ConvertPointToTarget(this, window_switcher_button_,
- &window_switcher_point);
- if (window_switcher_button_->HitTestPoint(window_switcher_point))
- return false;
- }
- return GetBrowserViewLayout()->IsPositionInWindowCaption(point);
-}
-
///////////////////////////////////////////////////////////////////////////////
// BrowserView, BrowserWindow implementation:
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/browser_view_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698