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

Side by Side Diff: chrome/test/base/browser_with_test_window_test.h

Issue 83343006: Enable immersive fullscreen for hosted apps part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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 CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
7 7
8 #include "base/at_exit.h" 8 #include "base/at_exit.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Creates the profile used by this test. The caller owns the return value. 134 // Creates the profile used by this test. The caller owns the return value.
135 virtual TestingProfile* CreateProfile(); 135 virtual TestingProfile* CreateProfile();
136 136
137 // Destroys the profile which was created through |CreateProfile|. 137 // Destroys the profile which was created through |CreateProfile|.
138 virtual void DestroyProfile(TestingProfile* profile); 138 virtual void DestroyProfile(TestingProfile* profile);
139 139
140 // Creates the BrowserWindow used by this test. The caller owns the return 140 // Creates the BrowserWindow used by this test. The caller owns the return
141 // value. Can return NULL to use the default window created by Browser. 141 // value. Can return NULL to use the default window created by Browser.
142 virtual BrowserWindow* CreateBrowserWindow(); 142 virtual BrowserWindow* CreateBrowserWindow();
143 143
144 // Populates the browser creation parameters.
145 virtual void PopulateBrowserCreateParams(Browser::CreateParams* params);
146
144 private: 147 private:
145 // We need to create a MessageLoop, otherwise a bunch of things fails. 148 // We need to create a MessageLoop, otherwise a bunch of things fails.
146 content::TestBrowserThreadBundle thread_bundle_; 149 content::TestBrowserThreadBundle thread_bundle_;
147 base::ShadowingAtExitManager at_exit_manager_; 150 base::ShadowingAtExitManager at_exit_manager_;
148 151
149 #if defined(OS_CHROMEOS) 152 #if defined(OS_CHROMEOS)
150 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; 153 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_;
151 chromeos::ScopedTestCrosSettings test_cros_settings_; 154 chromeos::ScopedTestCrosSettings test_cros_settings_;
152 chromeos::ScopedTestUserManager test_user_manager_; 155 chromeos::ScopedTestUserManager test_user_manager_;
153 #endif 156 #endif
(...skipping 20 matching lines...) Expand all
174 ui::ScopedOleInitializer ole_initializer_; 177 ui::ScopedOleInitializer ole_initializer_;
175 #endif 178 #endif
176 179
177 // The desktop to create the initial window on. 180 // The desktop to create the initial window on.
178 chrome::HostDesktopType host_desktop_type_; 181 chrome::HostDesktopType host_desktop_type_;
179 182
180 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); 183 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest);
181 }; 184 };
182 185
183 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 186 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698