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 <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "content/public/browser/web_contents.h" | 20 #include "content/public/browser/web_contents.h" |
21 #include "content/public/browser/web_contents_delegate.h" | 21 #include "content/public/browser/web_contents_delegate.h" |
22 #include "content/public/browser/web_contents_observer.h" | 22 #include "content/public/browser/web_contents_observer.h" |
23 #include "content/public/common/content_switches.h" | 23 #include "content/public/common/content_switches.h" |
| 24 #include "ui/gfx/geometry/size.h" |
24 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
25 #include "ui/gfx/size.h" | |
26 | 26 |
27 class GURL; | 27 class GURL; |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 class BrowserContext; | 30 class BrowserContext; |
31 class SiteInstance; | 31 class SiteInstance; |
32 class WebContents; | 32 class WebContents; |
33 } // namespace content | 33 } // namespace content |
34 | 34 |
35 namespace chromecast { | 35 namespace chromecast { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 base::WeakPtrFactory<CastWindowAndroid> weak_factory_; | 89 base::WeakPtrFactory<CastWindowAndroid> weak_factory_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid); | 91 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace shell | 94 } // namespace shell |
95 } // namespace chromecast | 95 } // namespace chromecast |
96 | 96 |
97 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ | 97 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ |
OLD | NEW |