OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 #include "base/android/jni_android.h" | 12 #include "base/android/jni_android.h" |
11 #include "base/android/scoped_java_ref.h" | 13 #include "base/android/scoped_java_ref.h" |
12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/supports_user_data.h" | 17 #include "base/supports_user_data.h" |
17 #include "content/browser/frame_host/navigation_controller_android.h" | 18 #include "content/browser/frame_host/navigation_controller_android.h" |
18 #include "content/browser/renderer_host/render_widget_host_view_android.h" | 19 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
19 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
23 class SynchronousCompositorClient; | 24 class SynchronousCompositorClient; |
24 class WebContents; | 25 class WebContents; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 SynchronousCompositorClient* synchronous_compositor_client_; | 207 SynchronousCompositorClient* synchronous_compositor_client_; |
207 | 208 |
208 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; | 209 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; |
209 | 210 |
210 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); | 211 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); |
211 }; | 212 }; |
212 | 213 |
213 } // namespace content | 214 } // namespace content |
214 | 215 |
215 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 216 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
OLD | NEW |