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

Side by Side Diff: content/test/content_browser_test.cc

Issue 11828028: [content shell] W3C SVG tests need to run in a smaller window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 11 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 | « content/shell/webkit_test_controller.cc ('k') | no next file » | 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 #include "content/test/content_browser_test.h" 5 #include "content/test/content_browser_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 Shell* ContentBrowserTest::CreateBrowser() { 133 Shell* ContentBrowserTest::CreateBrowser() {
134 ShellContentBrowserClient* browser_client = 134 ShellContentBrowserClient* browser_client =
135 static_cast<ShellContentBrowserClient*>(GetContentClient()->browser()); 135 static_cast<ShellContentBrowserClient*>(GetContentClient()->browser());
136 return Shell::CreateNewWindow( 136 return Shell::CreateNewWindow(
137 browser_client->browser_context(), 137 browser_client->browser_context(),
138 GURL(chrome::kAboutBlankURL), 138 GURL(chrome::kAboutBlankURL),
139 NULL, 139 NULL,
140 MSG_ROUTING_NONE, 140 MSG_ROUTING_NONE,
141 NULL); 141 gfx::Size());
142 } 142 }
143 143
144 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() { 144 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() {
145 ShellContentBrowserClient* browser_client = 145 ShellContentBrowserClient* browser_client =
146 static_cast<ShellContentBrowserClient*>(GetContentClient()->browser()); 146 static_cast<ShellContentBrowserClient*>(GetContentClient()->browser());
147 return Shell::CreateNewWindow( 147 return Shell::CreateNewWindow(
148 browser_client->off_the_record_browser_context(), 148 browser_client->off_the_record_browser_context(),
149 GURL(chrome::kAboutBlankURL), 149 GURL(chrome::kAboutBlankURL),
150 NULL, 150 NULL,
151 MSG_ROUTING_NONE, 151 MSG_ROUTING_NONE,
152 NULL); 152 gfx::Size());
153 } 153 }
154 154
155 } // namespace content 155 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/webkit_test_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698