| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 UIEventWithKeyState(const AtomicString& type, | 69 UIEventWithKeyState(const AtomicString& type, |
| 70 bool can_bubble, | 70 bool can_bubble, |
| 71 bool cancelable, | 71 bool cancelable, |
| 72 AbstractView*, | 72 AbstractView*, |
| 73 int detail, | 73 int detail, |
| 74 WebInputEvent::Modifiers, | 74 WebInputEvent::Modifiers, |
| 75 TimeTicks platform_time_stamp, | 75 TimeTicks platform_time_stamp, |
| 76 InputDeviceCapabilities* source_capabilities = nullptr); | 76 InputDeviceCapabilities* source_capabilities = nullptr); |
| 77 UIEventWithKeyState(const AtomicString& type, | 77 UIEventWithKeyState(const AtomicString& type, |
| 78 const EventModifierInit& initializer); | 78 const EventModifierInit& initializer, |
| 79 TimeTicks platform_time_stamp); |
| 80 UIEventWithKeyState(const AtomicString& type, |
| 81 const EventModifierInit& initializer) |
| 82 : UIEventWithKeyState(type, initializer, TimeTicks::Now()) {} |
| 79 void InitModifiers(bool ctrl_key, | 83 void InitModifiers(bool ctrl_key, |
| 80 bool alt_key, | 84 bool alt_key, |
| 81 bool shift_key, | 85 bool shift_key, |
| 82 bool meta_key); | 86 bool meta_key); |
| 83 | 87 |
| 84 unsigned modifiers_; | 88 unsigned modifiers_; |
| 85 | 89 |
| 86 private: | 90 private: |
| 87 static bool new_tab_modifier_set_from_isolated_world_; | 91 static bool new_tab_modifier_set_from_isolated_world_; |
| 88 }; | 92 }; |
| 89 | 93 |
| 90 UIEventWithKeyState* FindEventWithKeyState(Event*); | 94 UIEventWithKeyState* FindEventWithKeyState(Event*); |
| 91 | 95 |
| 92 } // namespace blink | 96 } // namespace blink |
| 93 | 97 |
| 94 #endif // UIEventWithKeyState_h | 98 #endif // UIEventWithKeyState_h |
| OLD | NEW |