Index: public/web/WebScopedUserGesture.h |
diff --git a/public/web/WebScopedUserGesture.h b/public/web/WebScopedUserGesture.h |
index f829834a4aadf38182e29d5fe83c49849a276323..a3d0c0940b28f5068b8375cefae77832b3021bb3 100644 |
--- a/public/web/WebScopedUserGesture.h |
+++ b/public/web/WebScopedUserGesture.h |
@@ -57,12 +57,14 @@ class WebUserGestureToken; |
class WebScopedUserGesture { |
public: |
explicit WebScopedUserGesture(const WebUserGestureToken& token) { initializeWithToken(token); } |
+ explicit WebScopedUserGesture(double timestamp) { initializeWithTimestamp(timestamp); } |
WebScopedUserGesture() { initialize(); } |
~WebScopedUserGesture() { reset(); } |
private: |
BLINK_EXPORT void initialize(); |
BLINK_EXPORT void initializeWithToken(const WebUserGestureToken&); |
+ BLINK_EXPORT void initializeWithTimestamp(double timestamp); |
BLINK_EXPORT void reset(); |
WebPrivateOwnPtr<WebCore::UserGestureIndicator> m_indicator; |