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

Side by Side Diff: ash/test/test_shell_delegate.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: 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
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/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/screenshot_delegate.h" 9 #include "ash/screenshot_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/shell_window_ids.h" 11 #include "ash/shell_window_ids.h"
12 #include "ash/test/test_launcher_delegate.h" 12 #include "ash/test/test_launcher_delegate.h"
13 #include "content/public/test/test_browser_context.h" 13 #include "content/public/test/test_browser_context.h"
14 #include "grit/ui_resources.h" 14 #include "grit/ui_resources.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 16
17 namespace ash { 17 namespace ash {
18 namespace test { 18 namespace test {
19 19
20 TestShellDelegate::TestShellDelegate() : locked_(false) { 20 TestShellDelegate::TestShellDelegate()
21 : locked_(false),
22 spoken_feedback_enabled_(false) {
21 } 23 }
22 24
23 TestShellDelegate::~TestShellDelegate() { 25 TestShellDelegate::~TestShellDelegate() {
24 } 26 }
25 27
26 bool TestShellDelegate::IsUserLoggedIn() { 28 bool TestShellDelegate::IsUserLoggedIn() {
27 return true; 29 return true;
28 } 30 }
29 31
30 void TestShellDelegate::LockScreen() { 32 void TestShellDelegate::LockScreen() {
31 locked_ = true; 33 locked_ = true;
32 } 34 }
33 35
34 void TestShellDelegate::UnlockScreen() { 36 void TestShellDelegate::UnlockScreen() {
35 locked_ = false; 37 locked_ = false;
36 } 38 }
37 39
38 bool TestShellDelegate::IsScreenLocked() const { 40 bool TestShellDelegate::IsScreenLocked() const {
39 return locked_; 41 return locked_;
40 } 42 }
41 43
44 bool TestShellDelegate::IsSpokenFeedbackEnabled() const {
45 return spoken_feedback_enabled_;
46 }
47
42 void TestShellDelegate::Shutdown() { 48 void TestShellDelegate::Shutdown() {
43 } 49 }
44 50
45 void TestShellDelegate::Exit() { 51 void TestShellDelegate::Exit() {
46 } 52 }
47 53
48 void TestShellDelegate::NewTab() { 54 void TestShellDelegate::NewTab() {
49 } 55 }
50 56
51 void TestShellDelegate::NewWindow(bool incognito) { 57 void TestShellDelegate::NewWindow(bool incognito) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { 109 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() {
104 return NULL; 110 return NULL;
105 } 111 }
106 112
107 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() { 113 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() {
108 return NULL; 114 return NULL;
109 } 115 }
110 116
111 } // namespace test 117 } // namespace test
112 } // namespace ash 118 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698