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

Unified Diff: ash/shell.h

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Working implementation Created 8 years, 7 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
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 2f47db3046e4942f9ab32c49b14bfce1804dee29..5107b3520ecf1e4db7983aa28095bccf27ce1d3c 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -68,6 +68,7 @@ class AppList;
class DragDropController;
class EventClientImpl;
class FocusCycler;
+class HighContrastController;
class InputMethodEventFilter;
class KeyRewriterEventFilter;
class MagnificationController;
@@ -234,9 +235,14 @@ class ASH_EXPORT Shell {
return user_wallpaper_delegate_.get();
}
+ internal::HighContrastController* high_contrast_controller() {
+ return high_contrast_controller_.get();
+ }
+
internal::MagnificationController* magnification_controller() {
return magnification_controller_.get();
}
+
internal::ScreenDimmer* screen_dimmer() {
return screen_dimmer_.get();
}
@@ -342,6 +348,7 @@ class ASH_EXPORT Shell {
scoped_ptr<internal::FocusCycler> focus_cycler_;
scoped_ptr<internal::EventClientImpl> event_client_;
scoped_ptr<internal::MonitorController> monitor_controller_;
+ scoped_ptr<internal::HighContrastController> high_contrast_controller_;
scoped_ptr<internal::MagnificationController> magnification_controller_;
scoped_ptr<internal::ScreenDimmer> screen_dimmer_;

Powered by Google App Engine
This is Rietveld 408576698