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

Unified Diff: ui/views/view_observer.h

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: wip: address high-level comments Created 3 years, 9 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_observer.h
diff --git a/ui/views/view_observer.h b/ui/views/view_observer.h
index c4f56791d4505e200493b03b7155952276902ca3..bfd20ee7fce8cc7b106eed7affe8a2793f4f2f5e 100644
--- a/ui/views/view_observer.h
+++ b/ui/views/view_observer.h
@@ -7,6 +7,10 @@
#include "ui/views/views_export.h"
+namespace ui {
+class NativeTheme;
+}
+
namespace views {
class View;
@@ -38,6 +42,10 @@ class VIEWS_EXPORT ViewObserver {
// Called from ~View.
virtual void OnViewIsDeleting(View* observed_view) {}
+ virtual void OnThemeChanged(View* view) {}
+
+ virtual void OnNativeThemeChanged(View* view, const ui::NativeTheme* theme) {}
+
protected:
virtual ~ViewObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698