Chromium Code Reviews| Index: chromecast/browser/cast_content_window.h |
| diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h |
| index 1d393da55a43a5862b57811a907d88b111ef146b..4dcfd0badc6d89ecae3921af25db62cc94d4e2e0 100644 |
| --- a/chromecast/browser/cast_content_window.h |
| +++ b/chromecast/browser/cast_content_window.h |
| @@ -8,40 +8,26 @@ |
| #include <memory> |
| #include "base/macros.h" |
| -#include "chromecast/graphics/cast_vsync_settings.h" |
| #include "content/public/browser/web_contents_observer.h" |
| -namespace aura { |
| -class WindowTreeHost; |
| -} |
| - |
| namespace content { |
| class BrowserContext; |
| class WebContents; |
| } |
| -namespace gfx { |
| -class Size; |
| -} |
| - |
| namespace chromecast { |
| namespace shell { |
| -class CastContentWindow : public content::WebContentsObserver, |
| - public CastVSyncSettings::Observer { |
| +class CastContentWindow : public content::WebContentsObserver { |
|
derekjchow1
2016/10/24 22:43:09
Is this class used publically anymore?
|
| public: |
| CastContentWindow(); |
| // Removes the window from the screen. |
| ~CastContentWindow() override; |
| - // Sets the window's background to be transparent (call before |
| - // CreateWindowTree). |
| + // Sets the window's background to be transparent. |
| void SetTransparent() { transparent_ = true; } |
| - // Create a full-screen window for |web_contents|. |
| - void CreateWindowTree(content::WebContents* web_contents); |
| - |
| std::unique_ptr<content::WebContents> CreateWebContents( |
| content::BrowserContext* browser_context); |
| @@ -51,13 +37,7 @@ class CastContentWindow : public content::WebContentsObserver, |
| void MediaStartedPlaying(const MediaPlayerId& id) override; |
| void RenderViewCreated(content::RenderViewHost* render_view_host) override; |
| - // CastVSyncSettings::Observer implementation: |
| - void OnVSyncIntervalChanged(base::TimeDelta interval) override; |
| - |
| private: |
| -#if defined(USE_AURA) |
| - std::unique_ptr<aura::WindowTreeHost> window_tree_host_; |
| -#endif |
| bool transparent_; |
| DISALLOW_COPY_AND_ASSIGN(CastContentWindow); |