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

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

Issue 102483006: Getting rid of GetDefaultProfile & fixing multi user issues with accessibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit test Created 7 years 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 return ash::kDefaultMagnifierType; 109 return ash::kDefaultMagnifierType;
110 } 110 }
111 111
112 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { 112 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE {
113 } 113 }
114 114
115 virtual double GetSavedScreenMagnifierScale() OVERRIDE { 115 virtual double GetSavedScreenMagnifierScale() OVERRIDE {
116 return std::numeric_limits<double>::min(); 116 return std::numeric_limits<double>::min();
117 } 117 }
118 118
119 virtual bool ShouldAlwaysShowAccessibilityMenu() 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 TriggerAccessibilityAlert( 126 virtual void TriggerAccessibilityAlert(
127 ash::AccessibilityAlert alert) OVERRIDE { 127 ash::AccessibilityAlert alert) OVERRIDE {
128 } 128 }
129 129
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 void ChromeShellDelegate::PlatformInit() { 244 void ChromeShellDelegate::PlatformInit() {
245 #if defined(OS_WIN) 245 #if defined(OS_WIN)
246 registrar_.Add(this, 246 registrar_.Add(this,
247 chrome::NOTIFICATION_ASH_SESSION_STARTED, 247 chrome::NOTIFICATION_ASH_SESSION_STARTED,
248 content::NotificationService::AllSources()); 248 content::NotificationService::AllSources());
249 registrar_.Add(this, 249 registrar_.Add(this,
250 chrome::NOTIFICATION_ASH_SESSION_ENDED, 250 chrome::NOTIFICATION_ASH_SESSION_ENDED,
251 content::NotificationService::AllSources()); 251 content::NotificationService::AllSources());
252 #endif 252 #endif
253 } 253 }
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