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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 134683004: Disabled pinch zooming in non-browser Aura windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 318f35beb62edabc7445841e8f39fd2c1a3858cf..a2db9b93ec190cd8b98db1906f0b7acb03915992 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -57,6 +57,7 @@ class Size;
namespace blink {
class WebLayer;
struct WebWindowFeatures;
+class WebGestureEvent;
}
namespace content {
@@ -271,6 +272,9 @@ class CONTENT_EXPORT WebContentsDelegate {
// pressed, or a touch-gesture begins).
virtual void HandlePointerActivate() {}
+ virtual bool PreHandleGestureEvent(WebContents* source,
jam 2014/01/14 17:02:45 nit: add comment
bokan 2014/01/14 18:49:05 Done.
+ const blink::WebGestureEvent& event);
jam 2014/01/14 17:02:45 nit: indentation
bokan 2014/01/14 18:49:05 Done.
+
virtual void HandleGestureBegin() {}
virtual void HandleGestureEnd() {}

Powered by Google App Engine
This is Rietveld 408576698