| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 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 | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 // Called when a gesture event is handled. | 130 // Called when a gesture event is handled. |
| 131 virtual void DidHandleGestureEvent(const WebGestureEvent& event, | 131 virtual void DidHandleGestureEvent(const WebGestureEvent& event, |
| 132 bool event_cancelled) {} | 132 bool event_cancelled) {} |
| 133 | 133 |
| 134 // Called when overscrolled on main thread. All parameters are in | 134 // Called when overscrolled on main thread. All parameters are in |
| 135 // viewport-space. | 135 // viewport-space. |
| 136 virtual void DidOverscroll(const WebFloatSize& overscroll_delta, | 136 virtual void DidOverscroll(const WebFloatSize& overscroll_delta, |
| 137 const WebFloatSize& accumulated_overscroll, | 137 const WebFloatSize& accumulated_overscroll, |
| 138 const WebFloatPoint& position_in_viewport, | 138 const WebFloatPoint& position_in_viewport, |
| 139 const WebFloatSize& velocity_in_viewport) {} | 139 const WebFloatSize& velocity_in_viewport, |
| 140 const WebScrollBoundaryBehavior& behavior) {} |
| 140 | 141 |
| 141 // Called to update if touch events should be sent. | 142 // Called to update if touch events should be sent. |
| 142 virtual void HasTouchEventHandlers(bool) {} | 143 virtual void HasTouchEventHandlers(bool) {} |
| 143 | 144 |
| 144 // Called to update whether low latency input mode is enabled or not. | 145 // Called to update whether low latency input mode is enabled or not. |
| 145 virtual void SetNeedsLowLatencyInput(bool) {} | 146 virtual void SetNeedsLowLatencyInput(bool) {} |
| 146 | 147 |
| 147 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform | 148 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform |
| 148 // the embedder of the touch actions that are permitted for this touch. | 149 // the embedder of the touch actions that are permitted for this touch. |
| 149 virtual void SetTouchAction(WebTouchAction touch_action) {} | 150 virtual void SetTouchAction(WebTouchAction touch_action) {} |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 virtual void StartDragging(WebReferrerPolicy, | 187 virtual void StartDragging(WebReferrerPolicy, |
| 187 const WebDragData&, | 188 const WebDragData&, |
| 188 WebDragOperationsMask, | 189 WebDragOperationsMask, |
| 189 const WebImage& drag_image, | 190 const WebImage& drag_image, |
| 190 const WebPoint& drag_image_offset) {} | 191 const WebPoint& drag_image_offset) {} |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 } // namespace blink | 194 } // namespace blink |
| 194 | 195 |
| 195 #endif | 196 #endif |
| OLD | NEW |