Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | |
| 6 #define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 | |
| 11 namespace aura { | |
| 12 class RootWindow; | |
| 13 } | |
| 14 | |
| 15 namespace ash { | |
| 16 namespace internal { | |
| 17 | |
| 18 class HighContrastController { | |
| 19 public: | |
| 20 HighContrastController(); | |
| 21 | |
| 22 virtual ~HighContrastController() {} | |
|
sky
2012/05/16 21:07:48
Does this really need to be virtual?
Zachary Kuznia
2012/05/17 08:25:25
Done.
| |
| 23 | |
| 24 void SetEnable(bool enable); | |
|
sky
2012/05/16 21:07:48
SetEnabled
Zachary Kuznia
2012/05/17 08:25:25
Done.
| |
| 25 | |
| 26 private: | |
| 27 aura::RootWindow* root_window_; | |
| 28 | |
| 29 bool enable_; | |
|
sky
2012/05/16 21:07:48
enabled
Zachary Kuznia
2012/05/17 08:25:25
Done.
| |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(HighContrastController); | |
| 32 }; | |
| 33 | |
| 34 } // namespace internal | |
| 35 } // namespace ash | |
| 36 | |
| 37 #endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ | |
| OLD | NEW |