Index: third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h |
diff --git a/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h b/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h |
index 26cbef22a0aeae716223a655c11779633d89372e..fde5ae7dd8e9ddcd36d6a16ec7ee204a38a217be 100644 |
--- a/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h |
+++ b/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h |
@@ -29,10 +29,16 @@ class CORE_EXPORT AddEventListenerOptionsResolved |
return m_passiveForcedForDocumentTarget; |
} |
+ // Set whether passive was specified when the options were |
+ // created by callee. |
+ void setPassiveSpecified(bool specified) { m_passiveSpecified = specified; } |
+ bool passiveSpecified() const { return m_passiveSpecified; } |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
bool m_passiveForcedForDocumentTarget; |
+ bool m_passiveSpecified; |
}; |
} // namespace blink |