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

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

Issue 2618143002: cros: Remove some OS platform ifdefs from ash (Closed)
Patch Set: rebase Created 3 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
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/common/default_accessibility_delegate.h" 9 #include "ash/common/default_accessibility_delegate.h"
10 #include "ash/common/gpu_support_stub.h" 10 #include "ash/common/gpu_support_stub.h"
11 #include "ash/common/palette_delegate.h" 11 #include "ash/common/palette_delegate.h"
12 #include "ash/common/session/session_state_delegate.h" 12 #include "ash/common/session/session_state_delegate.h"
13 #include "ash/common/system/tray/system_tray_notifier.h"
13 #include "ash/common/test/test_session_state_delegate.h" 14 #include "ash/common/test/test_session_state_delegate.h"
14 #include "ash/common/test/test_shelf_delegate.h" 15 #include "ash/common/test/test_shelf_delegate.h"
15 #include "ash/common/test/test_system_tray_delegate.h" 16 #include "ash/common/test/test_system_tray_delegate.h"
16 #include "ash/common/wm/window_state.h" 17 #include "ash/common/wm/window_state.h"
17 #include "ash/common/wm_shell.h" 18 #include "ash/common/wm_shell.h"
18 #include "ash/public/cpp/shell_window_ids.h" 19 #include "ash/public/cpp/shell_window_ids.h"
19 #include "ash/test/test_keyboard_ui.h" 20 #include "ash/test/test_keyboard_ui.h"
20 #include "ash/test/test_wallpaper_delegate.h" 21 #include "ash/test/test_wallpaper_delegate.h"
21 #include "ash/wm/window_util.h" 22 #include "ash/wm/window_util.h"
22 #include "base/logging.h" 23 #include "base/logging.h"
23 #include "base/memory/ptr_util.h" 24 #include "base/memory/ptr_util.h"
24 #include "ui/aura/window.h" 25 #include "ui/aura/window.h"
25 #include "ui/gfx/image/image.h" 26 #include "ui/gfx/image/image.h"
26 27
27 #if defined(OS_CHROMEOS)
28 #include "ash/common/system/tray/system_tray_notifier.h"
29 #endif
30
31 namespace ash { 28 namespace ash {
32 namespace test { 29 namespace test {
33 30
34 TestShellDelegate::TestShellDelegate() 31 TestShellDelegate::TestShellDelegate()
35 : num_exit_requests_(0), 32 : num_exit_requests_(0),
36 multi_profiles_enabled_(false), 33 multi_profiles_enabled_(false),
37 force_maximize_on_first_run_(false), 34 force_maximize_on_first_run_(false),
38 touchscreen_enabled_in_local_pref_(true) {} 35 touchscreen_enabled_in_local_pref_(true) {}
39 36
40 TestShellDelegate::~TestShellDelegate() {} 37 TestShellDelegate::~TestShellDelegate() {}
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, 125 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled,
129 bool use_local_state) { 126 bool use_local_state) {
130 if (use_local_state) 127 if (use_local_state)
131 touchscreen_enabled_in_local_pref_ = enabled; 128 touchscreen_enabled_in_local_pref_ = enabled;
132 } 129 }
133 130
134 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} 131 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {}
135 132
136 } // namespace test 133 } // namespace test
137 } // namespace ash 134 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/content/test_shell_content_state.h ('k') | ash/tooltips/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698