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

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: 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: 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 b8514439e94551462cbd125edf01993fd6a11e01..846dc20447d352a14467d413c7cda3ee95dd6c6e 100644
--- a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
@@ -207,6 +207,12 @@ void ChromeShellDelegate::ToggleSpokenFeedback() {
#endif
}
+bool ChromeShellDelegate::IsHighContrastEnabled() {
+#if defined(OS_CHROMEOS)
+ return chromeos::accessibility::IsHighContrastEnabled();
+#endif
+}
+
ash::AppListViewDelegate*
ChromeShellDelegate::CreateAppListViewDelegate() {
// Shell will own the created delegate.

Powered by Google App Engine
This is Rietveld 408576698