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

Unified Diff: content/shell/shell.h

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.h
diff --git a/content/shell/shell.h b/content/shell/shell.h
index e2162e8c27212b99b405837b3747ef486164b06c..4ea260f0168d47316155f456ee53c314de54fad6 100644
--- a/content/shell/shell.h
+++ b/content/shell/shell.h
@@ -62,7 +62,7 @@ class Shell : public WebContentsDelegate,
void CloseDevTools();
// Do one time initialization at application startup.
- static void PlatformInitialize();
+ static void Initialize();
static Shell* CreateNewWindow(BrowserContext* browser_context,
const GURL& url,
@@ -146,6 +146,9 @@ class Shell : public WebContentsDelegate,
// Helper to create a new Shell given a newly created WebContents.
static Shell* CreateShell(WebContents* web_contents);
+ // Helper for one time initialization of application
+ static void PlatformInitialize(gfx::Size default_window_size);
+
// All the methods that begin with Platform need to be implemented by the
// platform specific Shell implementation.
// Called from the destructor to let each platform do any necessary cleanup.

Powered by Google App Engine
This is Rietveld 408576698