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

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

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' 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_tests.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Allows configuration of the browser object before it is shown and the
146 // message pump starts running.
147 virtual void OnBeforeShowBrowser(Browser* browser) {}
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // Temporary user data directory. Used only when a user data directory is not 202 // Temporary user data directory. Used only when a user data directory is not
199 // specified in the command line. 203 // specified in the command line.
200 ScopedTempDir temp_user_data_dir_; 204 ScopedTempDir temp_user_data_dir_;
201 205
202 #if defined(OS_CHROMEOS) 206 #if defined(OS_CHROMEOS)
203 chromeos::ScopedStubCrosEnabler stub_cros_enabler_; 207 chromeos::ScopedStubCrosEnabler stub_cros_enabler_;
204 #endif // defined(OS_CHROMEOS) 208 #endif // defined(OS_CHROMEOS)
205 }; 209 };
206 210
207 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 211 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.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