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

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

Issue 1174683004: Populates sourceDevice attribute into MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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: Source/core/events/UIEvent.h
diff --git a/Source/core/events/UIEvent.h b/Source/core/events/UIEvent.h
index c01f7c6b26d090c72f2dbe7d5b434e5bca9b8467..05f293b5eb72268f60cf0e095bc00cc7b4bfdb31 100644
--- a/Source/core/events/UIEvent.h
+++ b/Source/core/events/UIEvent.h
@@ -58,6 +58,7 @@ public:
AbstractView* view() const { return m_view.get(); }
int detail() const { return m_detail; }
InputDevice* sourceDevice() const { return m_sourceDevice.get(); }
+ void setSourceDevice(InputDevice* sourceDevice) { m_sourceDevice = sourceDevice; }
virtual const AtomicString& interfaceName() const override;
virtual bool isUIEvent() const override final;

Powered by Google App Engine
This is Rietveld 408576698