Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_VIEWS_LINUX_UI_SYSTEM_THEME_CHANGE_OBSERVER_H_ | |
| 6 #define UI_VIEWS_LINUX_UI_SYSTEM_THEME_CHANGE_OBSERVER_H_ | |
| 7 | |
| 8 #include "ui/views/views_export.h" | |
| 9 | |
| 10 namespace views { | |
| 11 | |
| 12 // Observers which are notified when the system theme changes. | |
| 13 class VIEWS_EXPORT SystemThemeChangeObserver { | |
|
msw
2014/04/22 18:02:13
nit: I think this should become NativeThemeObserve
| |
| 14 public: | |
| 15 virtual ~SystemThemeChangeObserver() {} | |
| 16 | |
| 17 // Called whenever the underlying platform changes its theme. | |
| 18 virtual void OnSystemThemeChanged() = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace views | |
| 22 | |
| 23 #endif // UI_VIEWS_LINUX_UI_SYSTEM_THEME_CHANGE_OBSERVER_H_ | |
| OLD | NEW |