Chromium Code Reviews| Index: Source/core/events/UIEventWithKeyState.h |
| diff --git a/Source/core/events/UIEventWithKeyState.h b/Source/core/events/UIEventWithKeyState.h |
| index 8cd3d043b18a4d47ec5b7fabbf6b116e7c4ad0e6..b0cffdd9ccd0a1767ce885170fc8a809200574a0 100644 |
| --- a/Source/core/events/UIEventWithKeyState.h |
| +++ b/Source/core/events/UIEventWithKeyState.h |
| @@ -61,6 +61,16 @@ namespace blink { |
| { |
| } |
| + UIEventWithKeyState(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, |
| + int detail, InputDevice* sourceDevice, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) |
|
tdresser
2015/06/08 12:36:39
Where is this called?
lanwei
2015/06/09 20:07:10
It is called when constructing a touch event as a
|
| + : UIEvent(type, canBubble, cancelable, view, detail, sourceDevice) |
| + , m_ctrlKey(ctrlKey) |
| + , m_altKey(altKey) |
| + , m_shiftKey(shiftKey) |
| + , m_metaKey(metaKey) |
| + { |
| + } |
| + |
| // Expose these so init functions can set them. |
| bool m_ctrlKey : 1; |
| bool m_altKey : 1; |