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

Unified Diff: views/widget/root_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 | « views/widget/root_view.h ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/root_view.cc
===================================================================
--- views/widget/root_view.cc (revision 53545)
+++ views/widget/root_view.cc (working copy)
@@ -238,13 +238,12 @@
return widget_;
}
-void RootView::ThemeChanged() {
- View::ThemeChanged();
+void RootView::NotifyThemeChanged() {
+ View::PropagateThemeChanged();
}
void RootView::NotifyLocaleChanged() {
- // Propagate downside. Note that View::NotifyLocaleChanged() is private.
- View::NotifyLocaleChanged();
+ View::PropagateLocaleChanged();
}
/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « views/widget/root_view.h ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698