| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "content/public/browser/web_contents_observer.h" | 30 #include "content/public/browser/web_contents_observer.h" |
| 31 | 31 |
| 32 class SkBitmap; | 32 class SkBitmap; |
| 33 class TabContents; | 33 class TabContents; |
| 34 struct AwDrawGLInfo; | 34 struct AwDrawGLInfo; |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 class WebContents; | 37 class WebContents; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace ui { |
| 41 class TouchHandleDrawable; |
| 42 } |
| 43 |
| 40 namespace android_webview { | 44 namespace android_webview { |
| 41 | 45 |
| 42 class AwContentsContainer; | 46 class AwContentsContainer; |
| 43 class AwContentsClientBridge; | 47 class AwContentsClientBridge; |
| 44 class AwGLFunctor; | 48 class AwGLFunctor; |
| 45 class AwPdfExporter; | 49 class AwPdfExporter; |
| 46 class AwWebContentsDelegate; | 50 class AwWebContentsDelegate; |
| 47 class HardwareRenderer; | 51 class HardwareRenderer; |
| 48 class PermissionRequestHandler; | 52 class PermissionRequestHandler; |
| 49 | 53 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void OnNewPicture() override; | 277 void OnNewPicture() override; |
| 274 gfx::Point GetLocationOnScreen() override; | 278 gfx::Point GetLocationOnScreen() override; |
| 275 void ScrollContainerViewTo(const gfx::Vector2d& new_value) override; | 279 void ScrollContainerViewTo(const gfx::Vector2d& new_value) override; |
| 276 void UpdateScrollState(const gfx::Vector2d& max_scroll_offset, | 280 void UpdateScrollState(const gfx::Vector2d& max_scroll_offset, |
| 277 const gfx::SizeF& contents_size_dip, | 281 const gfx::SizeF& contents_size_dip, |
| 278 float page_scale_factor, | 282 float page_scale_factor, |
| 279 float min_page_scale_factor, | 283 float min_page_scale_factor, |
| 280 float max_page_scale_factor) override; | 284 float max_page_scale_factor) override; |
| 281 void DidOverscroll(const gfx::Vector2d& overscroll_delta, | 285 void DidOverscroll(const gfx::Vector2d& overscroll_delta, |
| 282 const gfx::Vector2dF& overscroll_velocity) override; | 286 const gfx::Vector2dF& overscroll_velocity) override; |
| 287 ui::TouchHandleDrawable* CreateDrawable(float dpi_scale) override; |
| 283 | 288 |
| 284 void ClearCache(JNIEnv* env, | 289 void ClearCache(JNIEnv* env, |
| 285 const base::android::JavaParamRef<jobject>& obj, | 290 const base::android::JavaParamRef<jobject>& obj, |
| 286 jboolean include_disk_files); | 291 jboolean include_disk_files); |
| 287 void SetPendingWebContentsForPopup( | 292 void SetPendingWebContentsForPopup( |
| 288 std::unique_ptr<content::WebContents> pending); | 293 std::unique_ptr<content::WebContents> pending); |
| 289 jlong ReleasePopupAwContents(JNIEnv* env, | 294 jlong ReleasePopupAwContents(JNIEnv* env, |
| 290 const base::android::JavaParamRef<jobject>& obj); | 295 const base::android::JavaParamRef<jobject>& obj); |
| 291 | 296 |
| 292 void ScrollTo(JNIEnv* env, | 297 void ScrollTo(JNIEnv* env, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 GLViewRendererManager::Key renderer_manager_key_; | 379 GLViewRendererManager::Key renderer_manager_key_; |
| 375 | 380 |
| 376 DISALLOW_COPY_AND_ASSIGN(AwContents); | 381 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 377 }; | 382 }; |
| 378 | 383 |
| 379 bool RegisterAwContents(JNIEnv* env); | 384 bool RegisterAwContents(JNIEnv* env); |
| 380 | 385 |
| 381 } // namespace android_webview | 386 } // namespace android_webview |
| 382 | 387 |
| 383 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 388 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |