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

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

Issue 2908643003: [mus+ash] Removes WmWindow from ash/wm/focus_rules (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/focus_rules (rebased) Created 3 years, 7 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
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/focus_rules.cc » ('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/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "ash/gpu_support_stub.h" 9 #include "ash/gpu_support_stub.h"
10 #include "ash/palette_delegate.h" 10 #include "ash/palette_delegate.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 bool TestShellDelegate::IsMultiProfilesEnabled() const { 74 bool TestShellDelegate::IsMultiProfilesEnabled() const {
75 return multi_profiles_enabled_; 75 return multi_profiles_enabled_;
76 } 76 }
77 77
78 bool TestShellDelegate::IsRunningInForcedAppMode() const { 78 bool TestShellDelegate::IsRunningInForcedAppMode() const {
79 return false; 79 return false;
80 } 80 }
81 81
82 bool TestShellDelegate::CanShowWindowForUser(WmWindow* window) const { 82 bool TestShellDelegate::CanShowWindowForUser(aura::Window* window) const {
83 return true; 83 return true;
84 } 84 }
85 85
86 bool TestShellDelegate::IsForceMaximizeOnFirstRun() const { 86 bool TestShellDelegate::IsForceMaximizeOnFirstRun() const {
87 return force_maximize_on_first_run_; 87 return force_maximize_on_first_run_;
88 } 88 }
89 89
90 void TestShellDelegate::PreInit() {} 90 void TestShellDelegate::PreInit() {}
91 91
92 void TestShellDelegate::PreShutdown() {} 92 void TestShellDelegate::PreShutdown() {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, 160 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled,
161 bool use_local_state) { 161 bool use_local_state) {
162 if (use_local_state) 162 if (use_local_state)
163 touchscreen_enabled_in_local_pref_ = enabled; 163 touchscreen_enabled_in_local_pref_ = enabled;
164 } 164 }
165 165
166 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} 166 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {}
167 167
168 } // namespace test 168 } // namespace test
169 } // namespace ash 169 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698