Index: ui/views/widget/root_view.h |
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h |
index ea8da5fdd9217ddfc022793b814d0526e89bfcc7..df9a4529ff983650f81d2e3d9683befd41a4d056 100644 |
--- a/ui/views/widget/root_view.h |
+++ b/ui/views/widget/root_view.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/ref_counted.h" |
#include "ui/events/event_processor.h" |
+#include "ui/native_theme/native_theme.h" |
#include "ui/views/focus/focus_manager.h" |
#include "ui/views/focus/focus_search.h" |
#include "ui/views/view.h" |
@@ -45,7 +46,8 @@ class PreEventDispatchHandler; |
// |
class VIEWS_EXPORT RootView : public View, |
public FocusTraversable, |
- public ui::EventProcessor { |
+ public ui::EventProcessor, |
+ public ui::NativeThemeObserver { |
public: |
static const char kViewClassName[]; |
@@ -109,6 +111,9 @@ class VIEWS_EXPORT RootView : public View, |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
virtual void UpdateParentLayer() OVERRIDE; |
+ // Overridden from ui::NativeThemeObserver: |
+ virtual void OnNativeThemeChange() OVERRIDE; |
+ |
protected: |
virtual void DispatchGestureEvent(ui::GestureEvent* event); |