Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / ui / views / linux_ui / native_theme_change_observer.h
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_NATIVE_THEME_CHANGE_OBSERVER_H_
6 #define UI_VIEWS_LINUX_UI_NATIVE_THEME_CHANGE_OBSERVER_H_
7
8 #include "ui/views/views_export.h"
9
10 namespace views {
11
12 // Observers which are notified when the native theme changes.
13 class VIEWS_EXPORT NativeThemeChangeObserver {
14  public:
15   virtual ~NativeThemeChangeObserver() {}
16
17   // Called whenever the underlying platform changes its native theme.
18   virtual void OnNativeThemeChanged() = 0;
19 };
20
21 }  // namespace views
22
23 #endif  // UI_VIEWS_LINUX_UI_NATIVE_THEME_CHANGE_OBSERVER_H_