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

Side by Side Diff: content/shell/shell_devtools_delegate.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/shell_browser_main_parts.cc ('k') | content/shell/shell_gtk.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 #include "content/shell/shell_devtools_delegate.h" 5 #include "content/shell/shell_devtools_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/public/browser/devtools_http_handler.h" 8 #include "content/public/browser/devtools_http_handler.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "content/public/common/url_constants.h" 10 #include "content/public/common/url_constants.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) { 63 std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) {
64 return ""; 64 return "";
65 } 65 }
66 66
67 RenderViewHost* ShellDevToolsDelegate::CreateNewTarget() { 67 RenderViewHost* ShellDevToolsDelegate::CreateNewTarget() {
68 Shell* shell = Shell::CreateNewWindow(browser_context_, 68 Shell* shell = Shell::CreateNewWindow(browser_context_,
69 GURL(chrome::kAboutBlankURL), 69 GURL(chrome::kAboutBlankURL),
70 NULL, 70 NULL,
71 MSG_ROUTING_NONE, 71 MSG_ROUTING_NONE,
72 NULL); 72 gfx::Size());
73 return shell->web_contents()->GetRenderViewHost(); 73 return shell->web_contents()->GetRenderViewHost();
74 } 74 }
75 75
76 } // namespace content 76 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_browser_main_parts.cc ('k') | content/shell/shell_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698