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

Unified Diff: chromecast/browser/cast_content_window.h

Issue 2626863006: [Chromecast] Add CastWebContents (Closed)
Patch Set: [Chromecast] Add CastWebContents Created 3 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: chromecast/browser/cast_content_window.h
diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h
index 929f2a7e29d7466df2387e0d103b5b5bf7fd9f91..f2fa855c3e29c11e78540d7f9a9a21672d0f5376 100644
--- a/chromecast/browser/cast_content_window.h
+++ b/chromecast/browser/cast_content_window.h
@@ -11,7 +11,6 @@
#include "ui/events/event.h"
namespace content {
-class BrowserContext;
class WebContents;
}
@@ -46,12 +45,6 @@ class CastContentWindow {
// Creates a full-screen window for |web_contents| and display it.
// |web_contents| should outlive this CastContentWindow.
virtual void ShowWebContents(content::WebContents* web_contents) = 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) = 0;
};
} // namespace shell

Powered by Google App Engine
This is Rietveld 408576698