Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 063a85a0ce86bc239aff24971a5ead7624422839..b085b4d03f691f9cdbf6764d6f4a15d98eaa3b88 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -1698,6 +1698,13 @@ void BrowserPluginGuest::RequestMediaAccessPermission( |
request_info); |
} |
+bool BrowserPluginGuest::PreHandleGestureEvent( |
+ WebContents* source, const blink::WebGestureEvent& event) { |
+ return event.type == blink::WebGestureEvent::GesturePinchBegin || |
+ event.type == blink::WebGestureEvent::GesturePinchUpdate || |
+ event.type == blink::WebGestureEvent::GesturePinchEnd; |
+} |
+ |
void BrowserPluginGuest::RunJavaScriptDialog( |
WebContents* web_contents, |
const GURL& origin_url, |