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

Unified Diff: chrome/browser/ui/views/wrench_menu.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
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | views/accessibility/native_view_accessibility_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/wrench_menu.cc
===================================================================
--- chrome/browser/ui/views/wrench_menu.cc (revision 86083)
+++ chrome/browser/ui/views/wrench_menu.cc (working copy)
@@ -232,7 +232,7 @@
ScheduleAllView() {}
virtual void SchedulePaintInRect(const gfx::Rect& r) {
- if (!IsVisible())
+ if (!visible())
return;
if (parent())
@@ -282,7 +282,7 @@
new TextButton(this, UTF16ToWide(l10n_util::GetStringUTF16(string_id)));
button->SetAccessibleName(
GetAccessibleNameForWrenchMenuItem(menu_model_, index, acc_string_id));
- button->SetFocusable(true);
+ button->set_focusable(true);
button->set_request_focus_on_press(false);
button->set_tag(index);
button->SetEnabled(menu_model_->IsEnabledAt(index));
@@ -419,7 +419,7 @@
ImageButton::BS_NORMAL,
ResourceBundle::GetSharedInstance().GetBitmapNamed(
IDR_FULLSCREEN_MENU_BUTTON));
- fullscreen_button_->SetFocusable(true);
+ fullscreen_button_->set_focusable(true);
fullscreen_button_->set_request_focus_on_press(false);
fullscreen_button_->set_tag(fullscreen_index);
fullscreen_button_->SetImageAlignment(
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | views/accessibility/native_view_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698