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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 2762553002: Add canUpdateLayout & canHandleGestureEvent to WebViewClient. (Closed)
Patch Set: Fix merge issues. Created 3 years, 9 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
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 075515a0779ff784b51c27f377e22cf38aba4a59..086bf176bfa4bbac7c2a32fc999c866408cd6910 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -267,6 +267,14 @@ WebViewPlugin::WebViewHelper::~WebViewHelper() {
bool WebViewPlugin::WebViewHelper::acceptsLoadDrops() { return false; }
+bool WebViewPlugin::WebViewHelper::canHandleGestureEvent() {
+ return true;
+}
+
+bool WebViewPlugin::WebViewHelper::canUpdateLayout() {
+ return true;
+}
+
void WebViewPlugin::WebViewHelper::setToolTipText(
const WebString& text,
blink::WebTextDirection hint) {
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698