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

Side by Side Diff: ash/test/ash_test_base.h

Issue 2029323002: mash: Convert AshPopupAlignmentDelegate to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 6 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/system/web_notification/web_notification_tray.cc ('k') | ash/test/ash_test_base.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 #ifndef ASH_TEST_ASH_TEST_BASE_H_ 5 #ifndef ASH_TEST_ASH_TEST_BASE_H_
6 #define ASH_TEST_ASH_TEST_BASE_H_ 6 #define ASH_TEST_ASH_TEST_BASE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 25 matching lines...) Expand all
36 36
37 namespace aura { 37 namespace aura {
38 class RootWindow; 38 class RootWindow;
39 class Window; 39 class Window;
40 class WindowDelegate; 40 class WindowDelegate;
41 } // namespace aura 41 } // namespace aura
42 42
43 namespace ash { 43 namespace ash {
44 class DisplayManager; 44 class DisplayManager;
45 class SystemTray; 45 class SystemTray;
46 class WmShelf;
46 47
47 namespace test { 48 namespace test {
48 49
49 class AshTestHelper; 50 class AshTestHelper;
50 class TestScreenshotDelegate; 51 class TestScreenshotDelegate;
51 class TestSystemTrayDelegate; 52 class TestSystemTrayDelegate;
52 #if defined(OS_WIN) 53 #if defined(OS_WIN)
53 class TestMetroViewerProcessHost; 54 class TestMetroViewerProcessHost;
54 #endif 55 #endif
55 56
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 // Returns the rotation currently active for the internal display. 112 // Returns the rotation currently active for the internal display.
112 static display::Display::Rotation GetCurrentInternalDisplayRotation(); 113 static display::Display::Rotation GetCurrentInternalDisplayRotation();
113 114
114 // Proxy to AshTestHelper::SupportsMultipleDisplays(). 115 // Proxy to AshTestHelper::SupportsMultipleDisplays().
115 static bool SupportsMultipleDisplays(); 116 static bool SupportsMultipleDisplays();
116 117
117 // Proxy to AshTestHelper::SupportsHostWindowResize(). 118 // Proxy to AshTestHelper::SupportsHostWindowResize().
118 static bool SupportsHostWindowResize(); 119 static bool SupportsHostWindowResize();
119 120
121 // Returns the WmShelf for the primary display.
122 static WmShelf* GetPrimaryShelf();
123
120 void set_start_session(bool start_session) { start_session_ = start_session; } 124 void set_start_session(bool start_session) { start_session_ = start_session; }
121 125
122 AshTestHelper* ash_test_helper() { return ash_test_helper_.get(); } 126 AshTestHelper* ash_test_helper() { return ash_test_helper_.get(); }
123 127
124 void RunAllPendingInMessageLoop(); 128 void RunAllPendingInMessageLoop();
125 129
126 TestScreenshotDelegate* GetScreenshotDelegate(); 130 TestScreenshotDelegate* GetScreenshotDelegate();
127 131
128 // Returns the system tray on the primary display. 132 // Returns the system tray on the primary display.
129 SystemTray* GetPrimarySystemTray(); 133 SystemTray* GetPrimarySystemTray();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ~NoSessionAshTestBase() override {} 176 ~NoSessionAshTestBase() override {}
173 177
174 private: 178 private:
175 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase); 179 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase);
176 }; 180 };
177 181
178 } // namespace test 182 } // namespace test
179 } // namespace ash 183 } // namespace ash
180 184
181 #endif // ASH_TEST_ASH_TEST_BASE_H_ 185 #endif // ASH_TEST_ASH_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698