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

Unified Diff: chrome/browser/ui/views/ash/chrome_shell_delegate.cc

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fix 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: chrome/browser/ui/views/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
index b52caed09c307b7fd0bbcb7bac7e6b6fd855505f..2d7a3a55eecfe85c8d676b86dacde87e7ac46186 100644
--- a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
@@ -214,6 +214,12 @@ void ChromeShellDelegate::ToggleSpokenFeedback() {
#endif
}
+bool ChromeShellDelegate::IsHighContrastEnabled() {
+#if defined(OS_CHROMEOS)
+ return chromeos::accessibility::IsHighContrastEnabled();
+#endif
+}
+
app_list::AppListViewDelegate*
ChromeShellDelegate::CreateAppListViewDelegate() {
// Shell will own the created delegate.

Powered by Google App Engine
This is Rietveld 408576698