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

Unified Diff: Source/core/events/MouseEvent.h

Issue 1233233003: Add Event.isTrusted support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master_event_trusted_main2
Patch Set: Fix nits Created 5 years, 5 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
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MouseEvent.h
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h
index 09e599116f149001862e74f3e85fe27f8998af37..d2f6fd2b7a80e10229d34e9c5b8ade876d9f9db0 100644
--- a/Source/core/events/MouseEvent.h
+++ b/Source/core/events/MouseEvent.h
@@ -92,11 +92,6 @@ public:
bool isDragEvent() const final;
int which() const final;
- // TODO(dtapuska): Move isTrusted support from MouseEvent
- // to Event. http://crbug.com/334015
- void setTrusted(bool trusted) { m_isTrusted = trusted; }
- bool isTrusted() const { return m_isTrusted; }
-
PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
@@ -119,7 +114,6 @@ private:
RefPtrWillBeMember<EventTarget> m_relatedTarget;
PersistentWillBeMember<DataTransfer> m_dataTransfer;
PlatformMouseEvent::SyntheticEventType m_syntheticEventType;
- unsigned m_isTrusted : 1;
};
class SimulatedMouseEvent final : public MouseEvent {
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698