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

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

Issue 1174683004: Populates sourceDevice attribute into MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Create a new init function 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/MouseRelatedEvent.h
diff --git a/Source/core/events/MouseRelatedEvent.h b/Source/core/events/MouseRelatedEvent.h
index 6b4ae753e08e1ab1ac95a98cb7c79c0bf42bcb29..df644cf772b1cd330fc2a98cdc0596bb0ba5934e 100644
--- a/Source/core/events/MouseRelatedEvent.h
+++ b/Source/core/events/MouseRelatedEvent.h
@@ -68,7 +68,7 @@ namespace blink {
MouseRelatedEvent(const AtomicString& type, bool canBubble, bool cancelable,
PassRefPtrWillBeRawPtr<AbstractView>, int detail, const IntPoint& screenLocation,
const IntPoint& rootFrameLocation, const IntPoint& movementDelta, bool ctrlKey, bool altKey,
- bool shiftKey, bool metaKey, bool isSimulated = false);
+ bool shiftKey, bool metaKey, bool isSimulated = false, InputDevice* sourceDevice = nullptr);
void initCoordinates();
void initCoordinates(const LayoutPoint& clientLocation);

Powered by Google App Engine
This is Rietveld 408576698