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

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

Issue 2834183002: Add time stamp to the constructor of the events (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/core/events/UIEventWithKeyState.h
diff --git a/third_party/WebKit/Source/core/events/UIEventWithKeyState.h b/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
index 3fa0e71caa612d3299cf7f80e121b0b9e072e0bd..e1fe002e1a2829247887e4397e79b058b4282e10 100644
--- a/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
+++ b/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
@@ -75,7 +75,8 @@ class CORE_EXPORT UIEventWithKeyState : public UIEvent {
TimeTicks platform_time_stamp,
InputDeviceCapabilities* source_capabilities = nullptr);
UIEventWithKeyState(const AtomicString& type,
- const EventModifierInit& initializer);
+ const EventModifierInit& initializer,
+ TimeTicks platform_time_stamp = TimeTicks::Now());
void InitModifiers(bool ctrl_key,
bool alt_key,
bool shift_key,

Powered by Google App Engine
This is Rietveld 408576698