| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 CompositionEvent::CompositionEvent() {} | 31 CompositionEvent::CompositionEvent() {} |
| 32 | 32 |
| 33 CompositionEvent::CompositionEvent(const AtomicString& type, | 33 CompositionEvent::CompositionEvent(const AtomicString& type, |
| 34 AbstractView* view, | 34 AbstractView* view, |
| 35 const String& data) | 35 const String& data) |
| 36 : UIEvent( | 36 : UIEvent( |
| 37 type, | 37 type, |
| 38 true, | 38 true, |
| 39 true, | 39 true, |
| 40 ComposedMode::Composed, | 40 ComposedMode::Composed, |
| 41 WTF::monotonicallyIncreasingTime(), | 41 TimeTicks::Now(), |
| 42 view, | 42 view, |
| 43 0, | 43 0, |
| 44 InputDeviceCapabilities::doesntFireTouchEventsSourceCapabilities()), | 44 InputDeviceCapabilities::doesntFireTouchEventsSourceCapabilities()), |
| 45 m_data(data) {} | 45 m_data(data) {} |
| 46 | 46 |
| 47 CompositionEvent::CompositionEvent(const AtomicString& type, | 47 CompositionEvent::CompositionEvent(const AtomicString& type, |
| 48 const CompositionEventInit& initializer) | 48 const CompositionEventInit& initializer) |
| 49 : UIEvent(type, initializer) { | 49 : UIEvent(type, initializer) { |
| 50 if (initializer.hasData()) | 50 if (initializer.hasData()) |
| 51 m_data = initializer.data(); | 51 m_data = initializer.data(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 68 | 68 |
| 69 const AtomicString& CompositionEvent::interfaceName() const { | 69 const AtomicString& CompositionEvent::interfaceName() const { |
| 70 return EventNames::CompositionEvent; | 70 return EventNames::CompositionEvent; |
| 71 } | 71 } |
| 72 | 72 |
| 73 DEFINE_TRACE(CompositionEvent) { | 73 DEFINE_TRACE(CompositionEvent) { |
| 74 UIEvent::trace(visitor); | 74 UIEvent::trace(visitor); |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| OLD | NEW |