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

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

Issue 1161783006: Populates sourceDevice attribute into TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Put touchevent in uievent layout test 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
« no previous file with comments | « Source/core/events/UIEvent.cpp ('k') | Source/core/input/InputDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/UIEventWithKeyState.h
diff --git a/Source/core/events/UIEventWithKeyState.h b/Source/core/events/UIEventWithKeyState.h
index 8cd3d043b18a4d47ec5b7fabbf6b116e7c4ad0e6..cee4a6e73d867bfe2b106ef9e970128c91e512df 100644
--- a/Source/core/events/UIEventWithKeyState.h
+++ b/Source/core/events/UIEventWithKeyState.h
@@ -52,8 +52,8 @@ namespace blink {
}
UIEventWithKeyState(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view,
- int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
- : UIEvent(type, canBubble, cancelable, view, detail)
+ int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, InputDevice* sourceDevice = nullptr)
+ : UIEvent(type, canBubble, cancelable, view, detail, sourceDevice)
, m_ctrlKey(ctrlKey)
, m_altKey(altKey)
, m_shiftKey(shiftKey)
« no previous file with comments | « Source/core/events/UIEvent.cpp ('k') | Source/core/input/InputDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698