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

Side by Side Diff: ash/system/status_area_widget.cc

Issue 10543158: Do not toggle Applist with Search key press when accessibility is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix interactive_ui_tests Created 8 years, 6 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 | « ash/shell_delegate.h ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/system/status_area_widget.h" 5 #include "ash/system/status_area_widget.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 virtual bool IsCapsLockOn() const OVERRIDE { 110 virtual bool IsCapsLockOn() const OVERRIDE {
111 return caps_lock_enabled_; 111 return caps_lock_enabled_;
112 } 112 }
113 113
114 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE { 114 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE {
115 caps_lock_enabled_ = enabled; 115 caps_lock_enabled_ = enabled;
116 } 116 }
117 117
118 virtual bool IsInAccessibilityMode() const OVERRIDE {
119 return false;
120 }
121
122 virtual void SetEnableSpokenFeedback(bool enable) OVERRIDE {}
123
124 virtual void ShutDown() OVERRIDE {} 118 virtual void ShutDown() OVERRIDE {}
125 119
126 virtual void SignOut() OVERRIDE { 120 virtual void SignOut() OVERRIDE {
127 MessageLoop::current()->Quit(); 121 MessageLoop::current()->Quit();
128 } 122 }
129 123
130 virtual void RequestLockScreen() OVERRIDE {} 124 virtual void RequestLockScreen() OVERRIDE {}
131 125
132 virtual void RequestRestart() OVERRIDE {} 126 virtual void RequestRestart() OVERRIDE {}
133 127
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 void StatusAreaWidget::HideWebNotificationBubble() { 368 void StatusAreaWidget::HideWebNotificationBubble() {
375 DCHECK(web_notification_tray_); 369 DCHECK(web_notification_tray_);
376 web_notification_tray_->HideBubble(); 370 web_notification_tray_->HideBubble();
377 // Show any hidden or suppressed system notifications. 371 // Show any hidden or suppressed system notifications.
378 if (system_tray_) 372 if (system_tray_)
379 system_tray_->SetHideNotifications(false); 373 system_tray_->SetHideNotifications(false);
380 } 374 }
381 375
382 } // namespace internal 376 } // namespace internal
383 } // namespace ash 377 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698