OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | 5 #ifndef ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ |
6 #define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | 6 #define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 | 10 |
12 namespace aura { | 11 namespace aura { |
13 class RootWindow; | 12 class RootWindow; |
14 } | 13 } |
15 | 14 |
16 namespace ash { | 15 namespace ash { |
17 | 16 |
18 class ASH_EXPORT HighContrastController { | 17 class ASH_EXPORT HighContrastController { |
19 public: | 18 public: |
20 HighContrastController(); | 19 HighContrastController(); |
21 | 20 |
22 ~HighContrastController() {} | 21 ~HighContrastController() {} |
23 | 22 |
24 void SetEnabled(bool enabled); | 23 void SetEnabled(bool enabled); |
25 | 24 |
26 private: | 25 private: |
27 aura::RootWindow* root_window_; | 26 aura::RootWindow* root_window_; |
28 | 27 |
29 bool enabled_; | 28 bool enabled_; |
30 | 29 |
31 DISALLOW_COPY_AND_ASSIGN(HighContrastController); | 30 DISALLOW_COPY_AND_ASSIGN(HighContrastController); |
32 }; | 31 }; |
33 | 32 |
34 } // namespace ash | 33 } // namespace ash |
35 | 34 |
36 #endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | 35 #endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ |
OLD | NEW |