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

Unified Diff: chrome/browser/views/find_bar_view.cc

Issue 2878055: Make theme change notifications auto-propagate through the view hierarchy, in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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/views/find_bar_view.h ('k') | chrome/browser/views/tabs/base_tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_view.cc
===================================================================
--- chrome/browser/views/find_bar_view.cc (revision 53545)
+++ chrome/browser/views/find_bar_view.cc (working copy)
@@ -323,7 +323,7 @@
sz.width(),
sz.height());
// Set the color.
- ThemeChanged();
+ OnThemeChanged();
// Next, the FindNext button to the left the close button.
sz = find_next_button_->GetPreferredSize();
@@ -525,7 +525,7 @@
return static_cast<FindBarHost*>(host());
}
-void FindBarView::ThemeChanged() {
+void FindBarView::OnThemeChanged() {
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
if (GetThemeProvider()) {
close_button_->SetBackground(
« no previous file with comments | « chrome/browser/views/find_bar_view.h ('k') | chrome/browser/views/tabs/base_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698