Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index 80aaddee1a61610b0e154cd8da5cd3398c35f69d..66dceccdda0c15541942db931e965ffb8e1ab31f 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -242,8 +242,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
// When set, this value is used as the Widget's NativeWidget implementation. |
// The Widget will not construct a default one. Default is NULL. |
NativeWidget* native_widget; |
- // If provided, sets the native theme for this widget. |
- ui::NativeTheme* native_theme; |
// Aura-only. Provides a DesktopWindowTreeHost implementation to use instead |
// of the default one. |
// TODO(beng): Figure out if there's a better way to expose this, e.g. get |
@@ -565,7 +563,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
return const_cast<ui::NativeTheme*>( |
const_cast<const Widget*>(this)->GetNativeTheme()); |
} |
- const ui::NativeTheme* GetNativeTheme() const; |
+ virtual const ui::NativeTheme* GetNativeTheme() const; |
// Returns the FocusManager for this widget. |
// Note that all widgets in a widget hierarchy share the same focus manager. |
@@ -866,10 +864,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
internal::NativeWidgetPrivate* native_widget_; |
- // If non-null, the native theme for this widget. Otherwise the native theme |
- // comes from |native_widget_|. |
- ui::NativeTheme* native_theme_; |
- |
base::ObserverList<WidgetObserver> observers_; |
base::ObserverList<WidgetRemovalsObserver> removals_observers_; |