OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
7 | 7 |
8 #include "content/browser/renderer_host/event_with_latency_info.h" | 8 #include "content/browser/renderer_host/event_with_latency_info.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/input/input_event_ack_state.h" | 10 #include "content/common/input/input_event_ack_state.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // of the call to Flush. The call will typically be asynchronous with | 46 // of the call to Flush. The call will typically be asynchronous with |
47 // respect to the call to |Flush| on the InputRouter. | 47 // respect to the call to |Flush| on the InputRouter. |
48 virtual void DidFlush() = 0; | 48 virtual void DidFlush() = 0; |
49 | 49 |
50 // Called when the router has received an overscroll notification from the | 50 // Called when the router has received an overscroll notification from the |
51 // renderer. | 51 // renderer. |
52 virtual void DidOverscroll(const DidOverscrollParams& params) = 0; | 52 virtual void DidOverscroll(const DidOverscrollParams& params) = 0; |
53 | 53 |
54 // Called when a renderer fling has terminated. | 54 // Called when a renderer fling has terminated. |
55 virtual void DidStopFlinging() = 0; | 55 virtual void DidStopFlinging() = 0; |
| 56 |
| 57 // Called when the renderer selected a word in response to the input event |
| 58 // SelectWordIfAnyAtCoordinate. |
| 59 virtual void DidSelectWordAtCoordinates() = 0; |
56 }; | 60 }; |
57 | 61 |
58 } // namespace content | 62 } // namespace content |
59 | 63 |
60 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 64 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
OLD | NEW |