| 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 474ff9128436f0d7bbf48f257d3190dda4a877c5..43bff59fb591ed0f7dc4cbce7e8c6ba86252809c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -1279,6 +1279,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
|
|
| PropertyRegistry* propertyRegistry();
|
|
|
| + void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; }
|
| + bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; }
|
| +
|
| protected:
|
| Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
|
|
|
| @@ -1522,6 +1525,7 @@ class CORE_EXPORT Document : public ContainerNode,
|
|
|
| bool m_designMode;
|
| bool m_isRunningExecCommand;
|
| + bool m_hasReceivedUserGesture;
|
|
|
| HeapHashSet<WeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument;
|
| // Oilpan keeps track of all registered NodeLists.
|
|
|