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

Unified Diff: Source/web/WebViewImpl.h

Issue 163933002: Send early ShowPress on TapDown when page isn't scrollable/pinchable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Get element coordinates programmatically Created 6 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
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index e686c2288e7fb009b22e02fd9217d4dc0cb17601..4d082f87e937e1693d08a7bedb944f256422925d 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -527,6 +527,8 @@ public:
WebLayerTreeView* layerTreeView() const { return m_layerTreeView; }
+ bool isPinchZoomable() const;
+
private:
float legibleScale() const;
void refreshPageScaleFactorAfterLayout();
@@ -603,6 +605,8 @@ private:
virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE;
virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE;
+ bool earlyGestureShowPress(const WebCore::PlatformGestureEvent&);
+
WebCore::InputMethodContext* inputMethodContext();
WebPlugin* focusedPluginIfInputMethodSupported(WebCore::LocalFrame*);
@@ -771,6 +775,7 @@ private:
WebColor m_baseBackgroundColor;
WebColor m_backgroundColorOverride;
float m_zoomFactorOverride;
+ bool m_sentEarlyShowPress;
};
// We have no ways to check if the specified WebView is an instance of

Powered by Google App Engine
This is Rietveld 408576698