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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index da62177aeabab49db8943344be18308a28f0f0c6..c19a379eb8c5fba0de9a41d414a312385166b07b 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -123,6 +123,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
void didChangeVisibilityState() override;
void setDocumentHasReceivedUserGesture() override;
+ bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; }
+
void detachChildren();
void documentAttached();
@@ -269,6 +271,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
float m_textZoomFactor;
bool m_inViewSourceMode;
+ bool m_hasReceivedUserGesture;
Nate Chapin 2017/01/11 19:01:40 This won't propagate if this frame goes cross-proc
ojan 2017/01/11 19:15:48 I think we need to come up with a solution that is
Member<InstrumentingAgents> m_instrumentingAgents;
Member<PerformanceMonitor> m_performanceMonitor;

Powered by Google App Engine
This is Rietveld 408576698