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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<To
uchEvent> touchEvent) | 132 TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<To
uchEvent> touchEvent) |
133 : EventDispatchMediator(touchEvent) | 133 : EventDispatchMediator(touchEvent) |
134 { | 134 { |
135 } | 135 } |
136 | 136 |
137 TouchEvent& TouchEventDispatchMediator::event() const | 137 TouchEvent& TouchEventDispatchMediator::event() const |
138 { | 138 { |
139 return toTouchEvent(EventDispatchMediator::event()); | 139 return toTouchEvent(EventDispatchMediator::event()); |
140 } | 140 } |
141 | 141 |
142 bool TouchEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) cons
t | 142 WebInputEventResult TouchEventDispatchMediator::dispatchEvent(EventDispatcher& d
ispatcher) const |
143 { | 143 { |
144 event().eventPath().adjustForTouchEvent(event()); | 144 event().eventPath().adjustForTouchEvent(event()); |
145 return dispatcher.dispatch(); | 145 return dispatcher.dispatch(); |
146 } | 146 } |
147 | 147 |
148 } // namespace blink | 148 } // namespace blink |
OLD | NEW |