Index: third_party/WebKit/Source/core/frame/Frame.h |
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h |
index ba5e83ec3c74373ebf099c4c7e0c0a2c61fe3085..90f5a649d6f618c3707e88be1c58bacf71382862 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.h |
+++ b/third_party/WebKit/Source/core/frame/Frame.h |
@@ -89,8 +89,6 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> { |
void disconnectOwnerElement(); |
virtual bool shouldClose() = 0; |
- virtual void setDocumentHasReceivedUserGesture() = 0; |
- |
FrameClient* client() const; |
// NOTE: Page is moving out of Blink up into the browser process as |
@@ -147,6 +145,9 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> { |
virtual void didChangeVisibilityState(); |
+ void setDocumentHasReceivedUserGesture(); |
+ bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } |
+ |
bool isDetaching() const { return m_isDetaching; } |
protected: |
@@ -158,6 +159,7 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> { |
Member<FrameOwner> m_owner; |
Member<DOMWindow> m_domWindow; |
+ bool m_hasReceivedUserGesture = false; |
bool m_isDetaching = false; |
private: |