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

Unified Diff: third_party/WebKit/Source/core/frame/Frame.h

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698