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

Side by Side Diff: ash/test/test_shell_delegate.cc

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: call up via ShellDelegate Created 7 years, 11 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/caps_lock_delegate_stub.h" 9 #include "ash/caps_lock_delegate_stub.h"
10 #include "ash/host/root_window_host_factory.h" 10 #include "ash/host/root_window_host_factory.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 130
131 MagnifierType TestShellDelegate::GetMagnifierType() const { 131 MagnifierType TestShellDelegate::GetMagnifierType() const {
132 return screen_magnifier_type_; 132 return screen_magnifier_type_;
133 } 133 }
134 134
135 bool TestShellDelegate::ShouldAlwaysShowAccessibilityMenu() const { 135 bool TestShellDelegate::ShouldAlwaysShowAccessibilityMenu() const {
136 return false; 136 return false;
137 } 137 }
138 138
139 bool TestShellDelegate::IsImmersiveMode() const {
140 return false;
141 }
142
139 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { 143 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() {
140 return NULL; 144 return NULL;
141 } 145 }
142 146
143 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( 147 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate(
144 ash::LauncherModel* model) { 148 ash::LauncherModel* model) {
145 return new TestLauncherDelegate(model); 149 return new TestLauncherDelegate(model);
146 } 150 }
147 151
148 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() { 152 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 if (!user_logged_in) 218 if (!user_logged_in)
215 session_started_ = false; 219 session_started_ = false;
216 } 220 }
217 221
218 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) { 222 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) {
219 can_lock_screen_ = can_lock_screen; 223 can_lock_screen_ = can_lock_screen;
220 } 224 }
221 225
222 } // namespace test 226 } // namespace test
223 } // namespace ash 227 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698