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

Unified Diff: content/shell/shell.cc

Issue 11614037: Call ShowRootWindow on NativeWindow's RootWindow to display the window. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix mac build failure 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell.h ('k') | content/shell/shell_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell.cc
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index 771be7714628c80919e6dc1c9fd1666b572d25f9..675e877b05c0ccae9e09e8e7d19479ec2dcbf9da 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -124,6 +124,11 @@ Shell* Shell::FromRenderViewHost(RenderViewHost* rvh) {
return NULL;
}
+// static
+void Shell::Initialize() {
+ PlatformInitialize(gfx::Size(kTestWindowWidth, kTestWindowHeight));
+}
+
Shell* Shell::CreateNewWindow(BrowserContext* browser_context,
const GURL& url,
SiteInstance* site_instance,
« no previous file with comments | « content/shell/shell.h ('k') | content/shell/shell_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698