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

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: Reworked patch. 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
Index: content/shell/shell.cc
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index ce7e8f41a7e7243a7dcd455acaf3c15aaf34775a..664554e517df77a63da7e3ddc527edf180f47308 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -126,6 +126,11 @@ Shell* Shell::FromRenderViewHost(RenderViewHost* rvh) {
return NULL;
}
+// static
+void Shell::Initialize() {
+ PlatformInitialize(gfx::Size(kTestWindowWidth, kTestWindowHeight));
sky 2013/01/23 22:12:10 Why the two Initialize variants? Can't the ones th
Nayan 2013/01/23 22:23:10 This change was made to address jochen's comment -
+}
+
Shell* Shell::CreateNewWindow(BrowserContext* browser_context,
const GURL& url,
SiteInstance* site_instance,

Powered by Google App Engine
This is Rietveld 408576698