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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "chromecast/graphics/cast_vsync_settings.h" | 11 #include "chromecast/graphics/cast_vsync_settings.h" |
12 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 class WindowTreeHost; | 15 class WindowTreeHost; |
16 } | 16 } |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class BrowserContext; | 19 class BrowserContext; |
20 class WebContents; | 20 class WebContents; |
21 } | 21 } |
22 | 22 |
23 namespace gfx { | |
24 class Size; | |
25 } | |
26 | |
27 namespace chromecast { | 23 namespace chromecast { |
28 namespace shell { | 24 namespace shell { |
29 | 25 |
30 class CastContentWindow : public content::WebContentsObserver, | 26 class CastContentWindow : public content::WebContentsObserver, |
31 public CastVSyncSettings::Observer { | 27 public CastVSyncSettings::Observer { |
32 public: | 28 public: |
33 CastContentWindow(); | 29 CastContentWindow(); |
34 | 30 |
35 // Removes the window from the screen. | 31 // Removes the window from the screen. |
36 ~CastContentWindow() override; | 32 ~CastContentWindow() override; |
(...skipping 25 matching lines...) Expand all Loading... |
62 #endif | 58 #endif |
63 bool transparent_; | 59 bool transparent_; |
64 | 60 |
65 DISALLOW_COPY_AND_ASSIGN(CastContentWindow); | 61 DISALLOW_COPY_AND_ASSIGN(CastContentWindow); |
66 }; | 62 }; |
67 | 63 |
68 } // namespace shell | 64 } // namespace shell |
69 } // namespace chromecast | 65 } // namespace chromecast |
70 | 66 |
71 #endif // CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ | 67 #endif // CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_ |
OLD | NEW |