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

Unified Diff: chromecast/browser/cast_content_window_linux.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
« no previous file with comments | « chromecast/browser/cast_content_window.h ('k') | chromecast/browser/cast_content_window_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_window_linux.h
diff --git a/chromecast/browser/cast_content_window_linux.h b/chromecast/browser/cast_content_window_linux.h
index a083a117d2bf9516d6e707d818fbbaeb9e66bb72..5b4c6c2e316a6805b40af36d5846654c7828a9f0 100644
--- a/chromecast/browser/cast_content_window_linux.h
+++ b/chromecast/browser/cast_content_window_linux.h
@@ -9,19 +9,16 @@
#include "base/macros.h"
#include "chromecast/browser/cast_content_window.h"
-#include "content/public/browser/web_contents_observer.h"
#include "ui/events/keycodes/keyboard_codes.h"
namespace content {
-class BrowserContext;
class WebContents;
}
namespace chromecast {
namespace shell {
-class CastContentWindowLinux : public CastContentWindow,
- public content::WebContentsObserver {
+class CastContentWindowLinux : public CastContentWindow {
public:
// Removes the window from the screen.
~CastContentWindowLinux() override;
@@ -30,19 +27,6 @@ class CastContentWindowLinux : public CastContentWindow,
void SetTransparent() override;
void ShowWebContents(content::WebContents* web_contents,
CastWindowManager* window_manager) override;
- std::unique_ptr<content::WebContents> CreateWebContents(
- content::BrowserContext* browser_context,
- scoped_refptr<content::SiteInstance> site_instance) override;
-
- // content::WebContentsObserver implementation:
- void DidStartNavigation(
- content::NavigationHandle* navigation_handle) override;
- void DidFirstVisuallyNonEmptyPaint() override;
- void MediaStartedPlaying(const MediaPlayerInfo& media_info,
- const MediaPlayerId& id) override;
- void MediaStoppedPlaying(const MediaPlayerInfo& media_info,
- const MediaPlayerId& id) override;
- void RenderViewCreated(content::RenderViewHost* render_view_host) override;
private:
friend class CastContentWindow;
« no previous file with comments | « chromecast/browser/cast_content_window.h ('k') | chromecast/browser/cast_content_window_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698