OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef ASH_TEST_ASH_TEST_HELPER_H_ | 5 #ifndef ASH_TEST_ASH_TEST_HELPER_H_ |
6 #define ASH_TEST_ASH_TEST_HELPER_H_ | 6 #define ASH_TEST_ASH_TEST_HELPER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // True if the running environment supports multiple displays, | 77 // True if the running environment supports multiple displays, |
78 // or false otherwise (e.g. win8 bot). | 78 // or false otherwise (e.g. win8 bot). |
79 static bool SupportsMultipleDisplays(); | 79 static bool SupportsMultipleDisplays(); |
80 | 80 |
81 // True if the running environment supports host window resize, | 81 // True if the running environment supports host window resize, |
82 // or false otherwise (e.g. win8 bot). | 82 // or false otherwise (e.g. win8 bot). |
83 static bool SupportsHostWindowResize(); | 83 static bool SupportsHostWindowResize(); |
84 | 84 |
85 private: | 85 private: |
86 base::MessageLoopForUI* message_loop_; // Not owned. | 86 base::MessageLoopForUI* message_loop_; // Not owned. |
87 TestShellDelegate* test_shell_delegate_; // Owned by ash::Shell. | 87 TestShellDelegate* test_shell_delegate_; // Owned by ash::Shell. |
88 std::unique_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_; | 88 std::unique_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_; |
89 | 89 |
90 // Owned by ash::AcceleratorController | 90 // Owned by ash::AcceleratorController |
91 TestScreenshotDelegate* test_screenshot_delegate_; | 91 TestScreenshotDelegate* test_screenshot_delegate_; |
92 | 92 |
93 std::unique_ptr<views::ViewsDelegate> views_delegate_; | 93 std::unique_ptr<views::ViewsDelegate> views_delegate_; |
94 | 94 |
95 // An implementation of ShellContentState supplied by the user prior to | 95 // An implementation of ShellContentState supplied by the user prior to |
96 // SetUp(). | 96 // SetUp(). |
(...skipping 10 matching lines...) Expand all Loading... |
107 bool bluez_dbus_manager_initialized_; | 107 bool bluez_dbus_manager_initialized_; |
108 #endif | 108 #endif |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(AshTestHelper); | 110 DISALLOW_COPY_AND_ASSIGN(AshTestHelper); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace test | 113 } // namespace test |
114 } // namespace ash | 114 } // namespace ash |
115 | 115 |
116 #endif // ASH_TEST_ASH_TEST_HELPER_H_ | 116 #endif // ASH_TEST_ASH_TEST_HELPER_H_ |
OLD | NEW |