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

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

Issue 215293003: Move all wallpaper file loading and decoding from DesktopBackgroundController to WallpaperManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang debug build. Created 6 years, 8 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/shell/content_client/shell_browser_main_parts.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 <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 protected: 96 protected:
97 enum UserSessionBlockReason { 97 enum UserSessionBlockReason {
98 FIRST_BLOCK_REASON, 98 FIRST_BLOCK_REASON,
99 BLOCKED_BY_LOCK_SCREEN = FIRST_BLOCK_REASON, 99 BLOCKED_BY_LOCK_SCREEN = FIRST_BLOCK_REASON,
100 BLOCKED_BY_LOGIN_SCREEN, 100 BLOCKED_BY_LOGIN_SCREEN,
101 BLOCKED_BY_USER_ADDING_SCREEN, 101 BLOCKED_BY_USER_ADDING_SCREEN,
102 NUMBER_OF_BLOCK_REASONS 102 NUMBER_OF_BLOCK_REASONS
103 }; 103 };
104 104
105 // True if the running environment supports multiple displays, 105 // Proxy to AshTestHelper::SupportsMultipleDisplays().
106 // or false otherwise (e.g. win8 bot).
107 static bool SupportsMultipleDisplays(); 106 static bool SupportsMultipleDisplays();
108 107
109 // True if the running environment supports host window resize, 108 // Proxy to AshTestHelper::SupportsHostWindowResize().
110 // or false otherwise (e.g. win8 bot).
111 static bool SupportsHostWindowResize(); 109 static bool SupportsHostWindowResize();
112 110
113 void set_start_session(bool start_session) { start_session_ = start_session; } 111 void set_start_session(bool start_session) { start_session_ = start_session; }
114 112
115 AshTestHelper* ash_test_helper() { return ash_test_helper_.get(); } 113 AshTestHelper* ash_test_helper() { return ash_test_helper_.get(); }
116 114
117 void RunAllPendingInMessageLoop(); 115 void RunAllPendingInMessageLoop();
118 116
119 TestScreenshotDelegate* GetScreenshotDelegate(); 117 TestScreenshotDelegate* GetScreenshotDelegate();
120 TestSystemTrayDelegate* GetSystemTrayDelegate(); 118 TestSystemTrayDelegate* GetSystemTrayDelegate();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual ~NoSessionAshTestBase() {} 157 virtual ~NoSessionAshTestBase() {}
160 158
161 private: 159 private:
162 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase); 160 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase);
163 }; 161 };
164 162
165 } // namespace test 163 } // namespace test
166 } // namespace ash 164 } // namespace ash
167 165
168 #endif // ASH_TEST_ASH_TEST_BASE_H_ 166 #endif // ASH_TEST_ASH_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/shell/content_client/shell_browser_main_parts.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698