Index: Source/core/page/Page.h |
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
index f09626010b73984641fc17603d237795fb5fa493..783d3e9f4c6d11651f566089b727bd632d6615f7 100644 |
--- a/Source/core/page/Page.h |
+++ b/Source/core/page/Page.h |
@@ -224,6 +224,10 @@ public: |
void willBeDestroyed(); |
+ // Note: m_userGestureSeenSinceLastNavigation is set to false on every page navigation. |
+ void setUserGestureSeen() { m_userGestureSeenSinceLastNavigation = true; } |
+ bool userGestureSeenSinceLastNavigation() const { return m_userGestureSeenSinceLastNavigation; } |
+ |
protected: |
PageLifecycleNotifier& lifecycleNotifier(); |
@@ -290,6 +294,8 @@ private: |
bool m_isPainting; |
#endif |
+ bool m_userGestureSeenSinceLastNavigation; |
+ |
HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
// A pointer to all the interfaces provided to in-process Frames for this Page. |