Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Unified Diff: ash/high_contrast/high_contrast_controller.h

Issue 10962008: High contrast mode support for multiple displays. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/high_contrast/high_contrast_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | ash/high_contrast/high_contrast_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698