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

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

Issue 213233003: Show a notification when a braille display is connected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Remove LOGs Created 6 years, 9 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 virtual double GetSavedScreenMagnifierScale() OVERRIDE { 116 virtual double GetSavedScreenMagnifierScale() OVERRIDE {
117 return std::numeric_limits<double>::min(); 117 return std::numeric_limits<double>::min();
118 } 118 }
119 119
120 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE { 120 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE {
121 return false; 121 return false;
122 } 122 }
123 123
124 virtual bool IsBrailleDisplayConnected() OVERRIDE {
125 return false;
126 }
127
124 virtual void SilenceSpokenFeedback() const OVERRIDE { 128 virtual void SilenceSpokenFeedback() const OVERRIDE {
125 } 129 }
126 130
127 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE { 131 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE {
128 } 132 }
129 133
130 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE { 134 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE {
131 return false; 135 return false;
132 } 136 }
133 137
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 void ChromeShellDelegate::PlatformInit() { 258 void ChromeShellDelegate::PlatformInit() {
255 #if defined(OS_WIN) 259 #if defined(OS_WIN)
256 registrar_.Add(this, 260 registrar_.Add(this,
257 chrome::NOTIFICATION_ASH_SESSION_STARTED, 261 chrome::NOTIFICATION_ASH_SESSION_STARTED,
258 content::NotificationService::AllSources()); 262 content::NotificationService::AllSources());
259 registrar_.Add(this, 263 registrar_.Add(this,
260 chrome::NOTIFICATION_ASH_SESSION_ENDED, 264 chrome::NOTIFICATION_ASH_SESSION_ENDED,
261 content::NotificationService::AllSources()); 265 content::NotificationService::AllSources());
262 #endif 266 #endif
263 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698