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

Unified Diff: chromecast/browser/cast_content_window_linux.h

Issue 2626863006: [Chromecast] Add CastWebContents (Closed)
Patch Set: s/CastWebContents/CastWebView/g 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_linux.h
diff --git a/chromecast/browser/cast_content_window_linux.h b/chromecast/browser/cast_content_window_linux.h
index 98d9c04116fde6b722a45bfa76948d956fa1e84e..0da8e858fc2039912b8aa8f6d1d96886f0551130 100644
--- a/chromecast/browser/cast_content_window_linux.h
+++ b/chromecast/browser/cast_content_window_linux.h
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "chromecast/browser/cast_content_window.h"
#include "chromecast/graphics/cast_vsync_settings.h"
-#include "content/public/browser/web_contents_observer.h"
#include "ui/events/keycodes/keyboard_codes.h"
namespace aura {
@@ -18,7 +17,6 @@ class WindowTreeHost;
}
namespace content {
-class BrowserContext;
class WebContents;
}
@@ -26,7 +24,6 @@ namespace chromecast {
namespace shell {
class CastContentWindowLinux : public CastContentWindow,
- public content::WebContentsObserver,
public CastVSyncSettings::Observer {
public:
// Removes the window from the screen.
@@ -35,16 +32,6 @@ class CastContentWindowLinux : public CastContentWindow,
// CastContentWindow implementation.
void SetTransparent() override;
void ShowWebContents(content::WebContents* web_contents) override;
- std::unique_ptr<content::WebContents> CreateWebContents(
- content::BrowserContext* browser_context) override;
-
- // content::WebContentsObserver implementation:
- 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;
// CastVSyncSettings::Observer implementation:
void OnVSyncIntervalChanged(base::TimeDelta interval) override;

Powered by Google App Engine
This is Rietveld 408576698