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

Unified Diff: ui/views/view.h

Issue 239093007: Update Windows UI on system color changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase. Created 6 years, 8 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: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 314ebb7ddeaef6756bfa2450148a5c6badcb4062..0ef5c5b5d54b950725c957f9c9ee18c3ef9770fb 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1200,6 +1200,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Invoked when the NativeTheme associated with this View changes.
virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) {}
+ // Invokes OnNativeThemeChanged() on this and all descendants.
+ void PropagateNativeThemeChanged(const ui::NativeTheme* theme);
+
// Debugging -----------------------------------------------------------------
#if !defined(NDEBUG)
@@ -1274,9 +1277,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
void ViewHierarchyChangedImpl(bool register_accelerators,
const ViewHierarchyChangedDetails& details);
- // Invokes OnNativeThemeChanged() on this and all descendants.
- void PropagateNativeThemeChanged(const ui::NativeTheme* theme);
-
// Size and disposition ------------------------------------------------------
// Call VisibilityChanged() recursively for all children.

Powered by Google App Engine
This is Rietveld 408576698