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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2263043002: android_webview: Let AwContents manage TouchHandleDrawable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use SynchronousCompositorClient Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e9b2d5f8961428a4d539cd7ef95536aec841b10d..f99ba84035fdacbd81a00075b9b019d553d48e0a 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -134,6 +134,7 @@
#include "content/browser/android/date_time_chooser_android.h"
#include "content/browser/media/android/media_web_contents_observer_android.h"
#include "content/browser/web_contents/web_contents_android.h"
+#include "content/public/browser/android/synchronous_compositor_client.h"
#endif // OS_ANDROID
#if defined(OS_MACOSX)
@@ -4959,6 +4960,11 @@ bool WebContentsImpl::CreateRenderViewForInitialEmptyDocument() {
frame_tree_.root()->current_replication_state());
}
+ui::TouchHandleDrawable* WebContentsImpl::CreateDrawable() {
+ return GetWebContentsAndroid()->
+ synchronous_compositor_client()->CreateDrawable();
+}
+
#elif defined(OS_MACOSX)
void WebContentsImpl::SetAllowOtherViews(bool allow) {

Powered by Google App Engine
This is Rietveld 408576698