| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008, The Android Open Source Project | 2 * Copyright 2008, The Android Open Source Project |
| 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above copyright | 10 * * Redistributions in binary form must reproduce the above copyright |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 const AtomicString& interfaceName() const override; | 87 const AtomicString& interfaceName() const override; |
| 88 | 88 |
| 89 void preventDefault() override; | 89 void preventDefault() override; |
| 90 | 90 |
| 91 void doneDispatchingEventAtCurrentTarget() override; | 91 void doneDispatchingEventAtCurrentTarget() override; |
| 92 | 92 |
| 93 EventDispatchMediator* createMediator() override; | 93 EventDispatchMediator* createMediator() override; |
| 94 | 94 |
| 95 DECLARE_VIRTUAL_TRACE(); | 95 DECLARE_VIRTUAL_TRACE(); |
| 96 | 96 |
| 97 protected: |
| 98 bool shouldLogPassiveDevtoolsWarning() const override; |
| 99 |
| 97 private: | 100 private: |
| 98 TouchEvent(); | 101 TouchEvent(); |
| 99 TouchEvent(TouchList* touches, | 102 TouchEvent(TouchList* touches, |
| 100 TouchList* targetTouches, | 103 TouchList* targetTouches, |
| 101 TouchList* changedTouches, | 104 TouchList* changedTouches, |
| 102 const AtomicString& type, | 105 const AtomicString& type, |
| 103 AbstractView*, | 106 AbstractView*, |
| 104 PlatformEvent::Modifiers, | 107 PlatformEvent::Modifiers, |
| 105 bool cancelable, | 108 bool cancelable, |
| 106 bool causesScrollingIfUncanceled, | 109 bool causesScrollingIfUncanceled, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 129 explicit TouchEventDispatchMediator(TouchEvent*); | 132 explicit TouchEventDispatchMediator(TouchEvent*); |
| 130 TouchEvent& event() const; | 133 TouchEvent& event() const; |
| 131 DispatchEventResult dispatchEvent(EventDispatcher&) const override; | 134 DispatchEventResult dispatchEvent(EventDispatcher&) const override; |
| 132 }; | 135 }; |
| 133 | 136 |
| 134 DEFINE_EVENT_TYPE_CASTS(TouchEvent); | 137 DEFINE_EVENT_TYPE_CASTS(TouchEvent); |
| 135 | 138 |
| 136 } // namespace blink | 139 } // namespace blink |
| 137 | 140 |
| 138 #endif // TouchEvent_h | 141 #endif // TouchEvent_h |
| OLD | NEW |