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

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

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/ui/views/frame/glass_browser_frame_view.cc
===================================================================
--- chrome/browser/ui/views/frame/glass_browser_frame_view.cc (revision 86083)
+++ chrome/browser/ui/views/frame/glass_browser_frame_view.cc (working copy)
@@ -132,7 +132,7 @@
}
int maximized_spacing =
kNewTabCaptionMaximizedSpacing +
- (show_profile_button() && profile_button_->IsVisible() ?
+ (show_profile_button() && profile_button_->visible() ?
profile_button_->GetPreferredSize().width() +
ProfileMenuButton::kProfileTagHorizontalSpacing : 0);
int tabstrip_width = minimize_button_offset - tabstrip_x -
@@ -211,7 +211,7 @@
return frame_component;
// See if the point is within the profile menu button.
- if (show_profile_button() && profile_button_->IsVisible() &&
+ if (show_profile_button() && profile_button_->visible() &&
profile_button_->GetMirroredBounds().Contains(point))
return HTCLIENT;
@@ -248,7 +248,7 @@
// The ProfileMenuButton intrudes into the client area when the window is
// maximized.
if (frame_->IsMaximized() && show_profile_button() &&
- profile_button_->IsVisible() &&
+ profile_button_->visible() &&
profile_button_->GetMirroredBounds().Contains(l)) {
return true;
} else {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698