OLD | NEW |
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, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 const AtomicString& interfaceName() const override; | 77 const AtomicString& interfaceName() const override; |
78 bool isUIEvent() const final; | 78 bool isUIEvent() const final; |
79 | 79 |
80 virtual int which() const; | 80 virtual int which() const; |
81 | 81 |
82 DECLARE_VIRTUAL_TRACE(); | 82 DECLARE_VIRTUAL_TRACE(); |
83 | 83 |
84 protected: | 84 protected: |
85 UIEvent(); | 85 UIEvent(); |
86 // TODO(crbug.com/563542): Remove of this ctor in favor of making platformTime
Stamp (and perhaps sourceCapabilities) required in all constructions sites | 86 // TODO(crbug.com/563542): Remove of this ctor in favor of making |
| 87 // platformTimeStamp (and perhaps sourceCapabilities) required in all |
| 88 // constructions sites |
87 UIEvent(const AtomicString& type, | 89 UIEvent(const AtomicString& type, |
88 bool canBubble, | 90 bool canBubble, |
89 bool cancelable, | 91 bool cancelable, |
90 ComposedMode, | 92 ComposedMode, |
91 AbstractView*, | 93 AbstractView*, |
92 int detail, | 94 int detail, |
93 InputDeviceCapabilities* sourceCapabilities = nullptr); | 95 InputDeviceCapabilities* sourceCapabilities = nullptr); |
94 UIEvent(const AtomicString& type, | 96 UIEvent(const AtomicString& type, |
95 bool canBubble, | 97 bool canBubble, |
96 bool cancelable, | 98 bool cancelable, |
97 ComposedMode, | 99 ComposedMode, |
98 double platformTimeStamp, | 100 double platformTimeStamp, |
99 AbstractView*, | 101 AbstractView*, |
100 int detail, | 102 int detail, |
101 InputDeviceCapabilities* sourceCapabilities); | 103 InputDeviceCapabilities* sourceCapabilities); |
102 UIEvent(const AtomicString&, const UIEventInit&); | 104 UIEvent(const AtomicString&, const UIEventInit&); |
103 | 105 |
104 private: | 106 private: |
105 Member<AbstractView> m_view; | 107 Member<AbstractView> m_view; |
106 int m_detail; | 108 int m_detail; |
107 Member<InputDeviceCapabilities> m_sourceCapabilities; | 109 Member<InputDeviceCapabilities> m_sourceCapabilities; |
108 }; | 110 }; |
109 | 111 |
110 } // namespace blink | 112 } // namespace blink |
111 | 113 |
112 #endif // UIEvent_h | 114 #endif // UIEvent_h |
OLD | NEW |