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_ANDROID_CAST_WINDOW_ANDROID_H_ | 5 #ifndef CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ |
6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ | 6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "content/public/browser/web_contents_delegate.h" | 22 #include "content/public/browser/web_contents_delegate.h" |
23 #include "content/public/browser/web_contents_observer.h" | 23 #include "content/public/browser/web_contents_observer.h" |
24 #include "content/public/common/content_switches.h" | 24 #include "content/public/common/content_switches.h" |
25 #include "ui/gfx/geometry/size.h" | 25 #include "ui/gfx/geometry/size.h" |
26 #include "ui/gfx/native_widget_types.h" | 26 #include "ui/gfx/native_widget_types.h" |
27 | 27 |
28 class GURL; | 28 class GURL; |
29 | 29 |
30 namespace content { | 30 namespace content { |
31 class BrowserContext; | 31 class BrowserContext; |
32 class SiteInstance; | |
33 class WebContents; | 32 class WebContents; |
34 } // namespace content | 33 } // namespace content |
35 | 34 |
36 namespace chromecast { | 35 namespace chromecast { |
37 namespace shell { | 36 namespace shell { |
38 class CastContentWindow; | 37 class CastContentWindow; |
39 | 38 |
40 class CastWindowAndroid : public content::WebContentsDelegate, | 39 class CastWindowAndroid : public content::WebContentsDelegate, |
41 public content::WebContentsObserver { | 40 public content::WebContentsObserver { |
42 public: | 41 public: |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 base::WeakPtrFactory<CastWindowAndroid> weak_factory_; | 86 base::WeakPtrFactory<CastWindowAndroid> weak_factory_; |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid); | 88 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid); |
90 }; | 89 }; |
91 | 90 |
92 } // namespace shell | 91 } // namespace shell |
93 } // namespace chromecast | 92 } // namespace chromecast |
94 | 93 |
95 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ | 94 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ |
OLD | NEW |