OLD | NEW |
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" |
11 #include "ash/public/cpp/shell_window_ids.h" | 11 #include "ash/public/cpp/shell_window_ids.h" |
12 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
13 #include "ash/shelf/shelf.h" | 13 #include "ash/shelf/shelf.h" |
14 #include "ash/shell.h" | 14 #include "ash/shell.h" |
15 #include "ash/shell_observer.h" | 15 #include "ash/shell_observer.h" |
16 #include "ash/system/tray/system_tray_notifier.h" | 16 #include "ash/system/tray/system_tray_notifier.h" |
17 #include "ash/test/test_accessibility_delegate.h" | 17 #include "ash/test/test_accessibility_delegate.h" |
18 #include "ash/test/test_keyboard_ui.h" | 18 #include "ash/test/test_keyboard_ui.h" |
19 #include "ash/test/test_system_tray_delegate.h" | 19 #include "ash/test/test_system_tray_delegate.h" |
20 #include "ash/test/test_wallpaper_delegate.h" | 20 #include "ash/test/test_wallpaper_delegate.h" |
21 #include "ash/wm/window_state.h" | 21 #include "ash/wm/window_state.h" |
22 #include "ash/wm/window_util.h" | 22 #include "ash/wm/window_util.h" |
23 #include "ash/wm_window.h" | |
24 #include "base/logging.h" | 23 #include "base/logging.h" |
25 #include "base/memory/ptr_util.h" | 24 #include "base/memory/ptr_util.h" |
26 #include "ui/aura/window.h" | 25 #include "ui/aura/window.h" |
27 #include "ui/gfx/image/image.h" | 26 #include "ui/gfx/image/image.h" |
28 | 27 |
29 namespace ash { | 28 namespace ash { |
30 namespace test { | 29 namespace test { |
31 | 30 |
32 // A ShellObserver that sets the shelf alignment and auto hide behavior when the | 31 // A ShellObserver that sets the shelf alignment and auto hide behavior when the |
33 // shelf is created, to simulate ChromeLauncherController's behavior. | 32 // shelf is created, to simulate ChromeLauncherController's behavior. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, | 153 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, |
155 bool use_local_state) { | 154 bool use_local_state) { |
156 if (use_local_state) | 155 if (use_local_state) |
157 touchscreen_enabled_in_local_pref_ = enabled; | 156 touchscreen_enabled_in_local_pref_ = enabled; |
158 } | 157 } |
159 | 158 |
160 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} | 159 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} |
161 | 160 |
162 } // namespace test | 161 } // namespace test |
163 } // namespace ash | 162 } // namespace ash |
OLD | NEW |