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

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

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser_test Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/in_process_browser_test.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 CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 5 #ifndef CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // This is invoked from Setup. 135 // This is invoked from Setup.
136 virtual Browser* CreateBrowser(Profile* profile); 136 virtual Browser* CreateBrowser(Profile* profile);
137 137
138 // Similar to |CreateBrowser|, but creates an incognito browser. 138 // Similar to |CreateBrowser|, but creates an incognito browser.
139 virtual Browser* CreateIncognitoBrowser(); 139 virtual Browser* CreateIncognitoBrowser();
140 140
141 // Creates a browser for a popup window with a single tab (about:blank), waits 141 // Creates a browser for a popup window with a single tab (about:blank), waits
142 // for the tab to finish loading, and shows the browser. 142 // for the tab to finish loading, and shows the browser.
143 Browser* CreateBrowserForPopup(Profile* profile); 143 Browser* CreateBrowserForPopup(Profile* profile);
144 144
145 // Creates a browser for an application and waits for it to load and shows
146 // the browser.
147 Browser* CreateBrowserForApp(const std::string& app_name, Profile* profile);
148
145 // Called from the various CreateBrowser methods to add a blank tab, wait for 149 // Called from the various CreateBrowser methods to add a blank tab, wait for
146 // the navigation to complete, and show the browser's window. 150 // the navigation to complete, and show the browser's window.
147 void AddBlankTabAndShow(Browser* browser); 151 void AddBlankTabAndShow(Browser* browser);
148 152
149 // Returns the host resolver being used for the tests. Subclasses might want 153 // Returns the host resolver being used for the tests. Subclasses might want
150 // to configure it inside tests. 154 // to configure it inside tests.
151 net::RuleBasedHostResolverProc* host_resolver() { 155 net::RuleBasedHostResolverProc* host_resolver() {
152 return host_resolver_.get(); 156 return host_resolver_.get();
153 } 157 }
154 158
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Temporary user data directory. Used only when a user data directory is not 208 // Temporary user data directory. Used only when a user data directory is not
205 // specified in the command line. 209 // specified in the command line.
206 ScopedTempDir temp_user_data_dir_; 210 ScopedTempDir temp_user_data_dir_;
207 211
208 #if defined(OS_CHROMEOS) 212 #if defined(OS_CHROMEOS)
209 chromeos::ScopedStubCrosEnabler stub_cros_enabler_; 213 chromeos::ScopedStubCrosEnabler stub_cros_enabler_;
210 #endif // defined(OS_CHROMEOS) 214 #endif // defined(OS_CHROMEOS)
211 }; 215 };
212 216
213 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 217 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698