| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void OnNewPicture() override; | 273 void OnNewPicture() override; |
| 274 gfx::Point GetLocationOnScreen() override; | 274 gfx::Point GetLocationOnScreen() override; |
| 275 void ScrollContainerViewTo(const gfx::Vector2d& new_value) override; | 275 void ScrollContainerViewTo(const gfx::Vector2d& new_value) override; |
| 276 void UpdateScrollState(const gfx::Vector2d& max_scroll_offset, | 276 void UpdateScrollState(const gfx::Vector2d& max_scroll_offset, |
| 277 const gfx::SizeF& contents_size_dip, | 277 const gfx::SizeF& contents_size_dip, |
| 278 float page_scale_factor, | 278 float page_scale_factor, |
| 279 float min_page_scale_factor, | 279 float min_page_scale_factor, |
| 280 float max_page_scale_factor) override; | 280 float max_page_scale_factor) override; |
| 281 void DidOverscroll(const gfx::Vector2d& overscroll_delta, | 281 void DidOverscroll(const gfx::Vector2d& overscroll_delta, |
| 282 const gfx::Vector2dF& overscroll_velocity) override; | 282 const gfx::Vector2dF& overscroll_velocity) override; |
| 283 ui::TouchHandleDrawable* CreateDrawable() override; |
| 283 | 284 |
| 284 void ClearCache(JNIEnv* env, | 285 void ClearCache(JNIEnv* env, |
| 285 const base::android::JavaParamRef<jobject>& obj, | 286 const base::android::JavaParamRef<jobject>& obj, |
| 286 jboolean include_disk_files); | 287 jboolean include_disk_files); |
| 287 void SetPendingWebContentsForPopup( | 288 void SetPendingWebContentsForPopup( |
| 288 std::unique_ptr<content::WebContents> pending); | 289 std::unique_ptr<content::WebContents> pending); |
| 289 jlong ReleasePopupAwContents(JNIEnv* env, | 290 jlong ReleasePopupAwContents(JNIEnv* env, |
| 290 const base::android::JavaParamRef<jobject>& obj); | 291 const base::android::JavaParamRef<jobject>& obj); |
| 291 | 292 |
| 292 void ScrollTo(JNIEnv* env, | 293 void ScrollTo(JNIEnv* env, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 GLViewRendererManager::Key renderer_manager_key_; | 375 GLViewRendererManager::Key renderer_manager_key_; |
| 375 | 376 |
| 376 DISALLOW_COPY_AND_ASSIGN(AwContents); | 377 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 377 }; | 378 }; |
| 378 | 379 |
| 379 bool RegisterAwContents(JNIEnv* env); | 380 bool RegisterAwContents(JNIEnv* env); |
| 380 | 381 |
| 381 } // namespace android_webview | 382 } // namespace android_webview |
| 382 | 383 |
| 383 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 384 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |