| 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; | 
|  | 284   void DestroyAllDrawables() override; | 
| 283 | 285 | 
| 284   void ClearCache(JNIEnv* env, | 286   void ClearCache(JNIEnv* env, | 
| 285                   const base::android::JavaParamRef<jobject>& obj, | 287                   const base::android::JavaParamRef<jobject>& obj, | 
| 286                   jboolean include_disk_files); | 288                   jboolean include_disk_files); | 
| 287   void SetPendingWebContentsForPopup( | 289   void SetPendingWebContentsForPopup( | 
| 288       std::unique_ptr<content::WebContents> pending); | 290       std::unique_ptr<content::WebContents> pending); | 
| 289   jlong ReleasePopupAwContents(JNIEnv* env, | 291   jlong ReleasePopupAwContents(JNIEnv* env, | 
| 290                                const base::android::JavaParamRef<jobject>& obj); | 292                                const base::android::JavaParamRef<jobject>& obj); | 
| 291 | 293 | 
| 292   void ScrollTo(JNIEnv* env, | 294   void ScrollTo(JNIEnv* env, | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 374   GLViewRendererManager::Key renderer_manager_key_; | 376   GLViewRendererManager::Key renderer_manager_key_; | 
| 375 | 377 | 
| 376   DISALLOW_COPY_AND_ASSIGN(AwContents); | 378   DISALLOW_COPY_AND_ASSIGN(AwContents); | 
| 377 }; | 379 }; | 
| 378 | 380 | 
| 379 bool RegisterAwContents(JNIEnv* env); | 381 bool RegisterAwContents(JNIEnv* env); | 
| 380 | 382 | 
| 381 }  // namespace android_webview | 383 }  // namespace android_webview | 
| 382 | 384 | 
| 383 #endif  // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 385 #endif  // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 
| OLD | NEW | 
|---|