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

Side by Side Diff: third_party/WebKit/Source/core/events/UIEvent.cpp

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: rebase Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 12 matching lines...) Expand all
23 #include "core/events/UIEvent.h" 23 #include "core/events/UIEvent.h"
24 24
25 namespace blink { 25 namespace blink {
26 26
27 UIEvent::UIEvent() : m_detail(0), m_sourceCapabilities(nullptr) {} 27 UIEvent::UIEvent() : m_detail(0), m_sourceCapabilities(nullptr) {}
28 28
29 UIEvent::UIEvent(const AtomicString& eventType, 29 UIEvent::UIEvent(const AtomicString& eventType,
30 bool canBubbleArg, 30 bool canBubbleArg,
31 bool cancelableArg, 31 bool cancelableArg,
32 ComposedMode composedMode, 32 ComposedMode composedMode,
33 double platformTimeStamp, 33 TimeTicks platformTimeStamp,
34 AbstractView* viewArg, 34 AbstractView* viewArg,
35 int detailArg, 35 int detailArg,
36 InputDeviceCapabilities* sourceCapabilitiesArg) 36 InputDeviceCapabilities* sourceCapabilitiesArg)
37 : Event(eventType, 37 : Event(eventType,
38 canBubbleArg, 38 canBubbleArg,
39 cancelableArg, 39 cancelableArg,
40 composedMode, 40 composedMode,
41 platformTimeStamp), 41 platformTimeStamp),
42 m_view(viewArg), 42 m_view(viewArg),
43 m_detail(detailArg), 43 m_detail(detailArg),
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 return 0; 90 return 0;
91 } 91 }
92 92
93 DEFINE_TRACE(UIEvent) { 93 DEFINE_TRACE(UIEvent) {
94 visitor->trace(m_view); 94 visitor->trace(m_view);
95 visitor->trace(m_sourceCapabilities); 95 visitor->trace(m_sourceCapabilities);
96 Event::trace(visitor); 96 Event::trace(visitor);
97 } 97 }
98 98
99 } // namespace blink 99 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/UIEvent.h ('k') | third_party/WebKit/Source/core/events/UIEventWithKeyState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698