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

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: 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/minimal_ash.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell.h
diff --git a/content/shell/shell.h b/content/shell/shell.h
index 3c9e6ba9260b97ca9d8799b21db9ee6a05ff3487..f3426132eb46d604287614a9b1e434719e0069c5 100644
--- a/content/shell/shell.h
+++ b/content/shell/shell.h
@@ -63,7 +63,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,
@@ -147,6 +147,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(const 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.
« no previous file with comments | « content/shell/minimal_ash.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698