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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate_views.cc

Issue 137993021: Add a11y on-screen keyboard to accessibility menu on system tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer feedback. Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h"
6 6
7 #include "ash/accessibility_delegate.h" 7 #include "ash/accessibility_delegate.h"
8 #include "ash/magnifier/magnifier_constants.h" 8 #include "ash/magnifier/magnifier_constants.h"
9 #include "ash/media_delegate.h" 9 #include "ash/media_delegate.h"
10 #include "ash/system/tray/default_system_tray_delegate.h" 10 #include "ash/system/tray/default_system_tray_delegate.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 return std::numeric_limits<double>::min(); 116 return std::numeric_limits<double>::min();
117 } 117 }
118 118
119 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE { 119 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE {
120 return false; 120 return false;
121 } 121 }
122 122
123 virtual void SilenceSpokenFeedback() const OVERRIDE { 123 virtual void SilenceSpokenFeedback() const OVERRIDE {
124 } 124 }
125 125
126 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE {
127 }
128
126 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE { 129 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE {
127 return false; 130 return false;
128 } 131 }
129 132
130 virtual void TriggerAccessibilityAlert( 133 virtual void TriggerAccessibilityAlert(
131 ash::AccessibilityAlert alert) OVERRIDE { 134 ash::AccessibilityAlert alert) OVERRIDE {
132 } 135 }
133 136
134 virtual ash::AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE { 137 virtual ash::AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE {
135 return ash::A11Y_ALERT_NONE; 138 return ash::A11Y_ALERT_NONE;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 void ChromeShellDelegate::PlatformInit() { 251 void ChromeShellDelegate::PlatformInit() {
249 #if defined(OS_WIN) 252 #if defined(OS_WIN)
250 registrar_.Add(this, 253 registrar_.Add(this,
251 chrome::NOTIFICATION_ASH_SESSION_STARTED, 254 chrome::NOTIFICATION_ASH_SESSION_STARTED,
252 content::NotificationService::AllSources()); 255 content::NotificationService::AllSources());
253 registrar_.Add(this, 256 registrar_.Add(this,
254 chrome::NOTIFICATION_ASH_SESSION_ENDED, 257 chrome::NOTIFICATION_ASH_SESSION_ENDED,
255 content::NotificationService::AllSources()); 258 content::NotificationService::AllSources());
256 #endif 259 #endif
257 } 260 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698