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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Called to update if touch events should be sent. | 137 // Called to update if touch events should be sent. |
138 virtual void hasTouchEventHandlers(bool) {} | 138 virtual void hasTouchEventHandlers(bool) {} |
139 | 139 |
140 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform | 140 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform |
141 // the embedder of the touch actions that are permitted for this touch. | 141 // the embedder of the touch actions that are permitted for this touch. |
142 virtual void setTouchAction(WebTouchAction touchAction) {} | 142 virtual void setTouchAction(WebTouchAction touchAction) {} |
143 | 143 |
144 // Request the browser to show virtual keyboard for current input type. | 144 // Request the browser to show virtual keyboard for current input type. |
145 virtual void showVirtualKeyboardOnElementFocus() {} | 145 virtual void showVirtualKeyboardOnElementFocus() {} |
146 | 146 |
| 147 // Checks if the composition range or composition character bounds have been |
| 148 // changed. If they are changed, the new value will be sent to the browser |
| 149 // process. This method does nothing when the browser process is not able to |
| 150 // handle composition range and composition character bounds. |
| 151 // If immediate_request is true, render sends the latest composition info to |
| 152 // the browser even if the composition info is not changed. |
| 153 virtual void updateCompositionInfo(bool immediateRequest){}; |
| 154 |
147 // Request that the browser show a UI for an unhandled tap, if needed. | 155 // Request that the browser show a UI for an unhandled tap, if needed. |
148 // Invoked during the handling of a GestureTap input event whenever the | 156 // Invoked during the handling of a GestureTap input event whenever the |
149 // event is not consumed. | 157 // event is not consumed. |
150 // |tappedPosition| is the point where the mouseDown occurred in client | 158 // |tappedPosition| is the point where the mouseDown occurred in client |
151 // coordinates. | 159 // coordinates. |
152 // |tappedNode| is the node that the mouseDown event hit, provided so the | 160 // |tappedNode| is the node that the mouseDown event hit, provided so the |
153 // UI can be shown only on certain kinds of nodes in specific locations. | 161 // UI can be shown only on certain kinds of nodes in specific locations. |
154 // |pageChanged| is true if and only if the DOM tree or style was | 162 // |pageChanged| is true if and only if the DOM tree or style was |
155 // modified during the dispatch of the mouse*, or click events associated | 163 // modified during the dispatch of the mouse*, or click events associated |
156 // with the tap. | 164 // with the tap. |
(...skipping 22 matching lines...) Expand all Loading... |
179 virtual void startDragging(WebReferrerPolicy, | 187 virtual void startDragging(WebReferrerPolicy, |
180 const WebDragData&, | 188 const WebDragData&, |
181 WebDragOperationsMask, | 189 WebDragOperationsMask, |
182 const WebImage& dragImage, | 190 const WebImage& dragImage, |
183 const WebPoint& dragImageOffset) {} | 191 const WebPoint& dragImageOffset) {} |
184 }; | 192 }; |
185 | 193 |
186 } // namespace blink | 194 } // namespace blink |
187 | 195 |
188 #endif | 196 #endif |
OLD | NEW |