| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ |
| 6 #define CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
| 11 | 11 |
| 12 namespace aura { | 12 namespace aura { |
| 13 class WindowTreeHost; | 13 class WindowTreeHost; |
| 14 namespace test { | 14 } |
| 15 class TestFocusClient; | |
| 16 } // namespace test | |
| 17 } // namespace aura | |
| 18 | 15 |
| 19 namespace content { | 16 namespace content { |
| 20 class BrowserContext; | 17 class BrowserContext; |
| 21 class WebContents; | 18 class WebContents; |
| 22 } | 19 } |
| 23 | 20 |
| 24 namespace gfx { | 21 namespace gfx { |
| 25 class Size; | 22 class Size; |
| 26 } | 23 } |
| 27 | 24 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 44 | 41 |
| 45 // content::WebContentsObserver implementation: | 42 // content::WebContentsObserver implementation: |
| 46 void DidFirstVisuallyNonEmptyPaint() override; | 43 void DidFirstVisuallyNonEmptyPaint() override; |
| 47 void MediaPaused() override; | 44 void MediaPaused() override; |
| 48 void MediaStartedPlaying() override; | 45 void MediaStartedPlaying() override; |
| 49 void RenderViewCreated(content::RenderViewHost* render_view_host) override; | 46 void RenderViewCreated(content::RenderViewHost* render_view_host) override; |
| 50 | 47 |
| 51 private: | 48 private: |
| 52 #if defined(USE_AURA) | 49 #if defined(USE_AURA) |
| 53 scoped_ptr<aura::WindowTreeHost> window_tree_host_; | 50 scoped_ptr<aura::WindowTreeHost> window_tree_host_; |
| 54 scoped_ptr<aura::test::TestFocusClient> focus_client_; | |
| 55 #endif | 51 #endif |
| 56 | 52 |
| 57 DISALLOW_COPY_AND_ASSIGN(CastContentWindow); | 53 DISALLOW_COPY_AND_ASSIGN(CastContentWindow); |
| 58 }; | 54 }; |
| 59 | 55 |
| 60 } // namespace chromecast | 56 } // namespace chromecast |
| 61 | 57 |
| 62 #endif // CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ | 58 #endif // CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ |
| OLD | NEW |