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

Unified Diff: chromecast/browser/cast_content_window.h

Issue 823763002: Seperate creation of WebContents and window tree in CastContentWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | chromecast/browser/cast_content_window.cc » ('j') | chromecast/browser/cast_content_window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_window.h
diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h
index 7101db1f00a67f634fd7140f672660e819215ba1..9f6cbd4c7097fc916021ff06a52e81d1b08a82c5 100644
--- a/chromecast/browser/cast_content_window.h
+++ b/chromecast/browser/cast_content_window.h
@@ -30,8 +30,11 @@ class CastContentWindow {
// Removes the window from the screen.
~CastContentWindow();
- // Create a window with the given size.
- scoped_ptr<content::WebContents> Create(
+ // Create a window with the given size for |web_contents|.
+ void CreateWindowTree(const gfx::Size& initial_size,
+ content::WebContents* web_contents);
+
+ scoped_ptr<content::WebContents> CreateWebContents(
const gfx::Size& initial_size,
content::BrowserContext* browser_context);
« no previous file with comments | « no previous file | chromecast/browser/cast_content_window.cc » ('j') | chromecast/browser/cast_content_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698