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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2445193005: Route setHasReceivedUserGesture() state for RemoteFrames (Closed)
Patch Set: Created 4 years, 2 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 4b6f9af82925b087b63d4a96554de8df3ec39256..1f9766505c930a7a06e30641bfc36b6290e94db0 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1316,10 +1316,6 @@ class CORE_EXPORT Document : public ContainerNode,
// Indicates whether the user has interacted with this particular Document.
void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; }
- // Consume user interaction state. Used for an experiment that restricts
- // adding history entries to Documents that have had a user gesture since
- // last history state change.
- void clearHasReceivedUserGesture() { m_hasReceivedUserGesture = false; }
bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; }
protected:

Powered by Google App Engine
This is Rietveld 408576698