Chromium Code Reviews| Index: ash/high_contrast/high_contrast_controller.h |
| diff --git a/ash/high_contrast/high_contrast_controller.h b/ash/high_contrast/high_contrast_controller.h |
| index df151832efecf4614489aea52eb133dcf341cc3c..411bdd5038413b19de14988e178050ffb82b16ef 100644 |
| --- a/ash/high_contrast/high_contrast_controller.h |
| +++ b/ash/high_contrast/high_contrast_controller.h |
| @@ -20,13 +20,18 @@ class ASH_EXPORT HighContrastController { |
| ~HighContrastController() {} |
| + // Set high contrast mode and update all available displays. |
| void SetEnabled(bool enabled); |
| - private: |
| - aura::RootWindow* root_window_; |
| + // Update high contrast mode on the just added display. |
| + void OnRootWindowAdded(aura::RootWindow* root_window); |
| + private: |
| bool enabled_; |
| + // Update high contrast mode on the passed display. |
| + void UpdateDisplay(aura::RootWindow* root_window); |
|
Ben Goodger (Google)
2012/09/21 18:05:41
functions before data.
mtomasz
2012/09/24 02:40:48
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(HighContrastController); |
| }; |