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

Unified Diff: chromecast/browser/cast_content_window.h

Issue 2626863006: [Chromecast] Add CastWebContents (Closed)
Patch Set: [Chromecast] Add CastWebContents Created 3 years, 10 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: chromecast/browser/cast_content_window.h
diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h
index 9047a522d75288e1d9921e27266bef100ef481ba..bdc610b5400323c99ca60ff3a33129e11cab932d 100644
--- a/chromecast/browser/cast_content_window.h
+++ b/chromecast/browser/cast_content_window.h
@@ -13,8 +13,6 @@
#include "ui/events/event.h"
namespace content {
-class BrowserContext;
-class SiteInstance;
class WebContents;
}
@@ -53,17 +51,6 @@ class CastContentWindow {
// |window_manager| should outlive this CastContentWindow.
virtual void ShowWebContents(content::WebContents* web_contents,
CastWindowManager* window_manager) = 0;
-
- // Creates a WebContents.
- // TODO(derekjchow): remove this function from this class, since it doesn't
- // have anything to do with displaying web_contents.
- virtual std::unique_ptr<content::WebContents> CreateWebContents(
- content::BrowserContext* browser_context,
- scoped_refptr<content::SiteInstance> site_instance) = 0;
- std::unique_ptr<content::WebContents> CreateWebContents(
- content::BrowserContext* browser_context) {
- return CreateWebContents(browser_context, nullptr);
- }
};
} // namespace shell
« no previous file with comments | « chromecast/browser/android/cast_content_window_android.cc ('k') | chromecast/browser/cast_content_window_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698