Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: android_webview/native/aw_contents.h

Issue 2263043002: android_webview: Let AwContents manage TouchHandleDrawable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/native/DEPS ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « android_webview/native/DEPS ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698