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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 const WebFloatPoint& positionInViewport, | 139 const WebFloatPoint& positionInViewport, |
140 const WebFloatSize& velocityInViewport) {} | 140 const WebFloatSize& velocityInViewport) {} |
141 | 141 |
142 // Called to update if touch events should be sent. | 142 // Called to update if touch events should be sent. |
143 virtual void hasTouchEventHandlers(bool) {} | 143 virtual void hasTouchEventHandlers(bool) {} |
144 | 144 |
145 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform | 145 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform |
146 // the embedder of the touch actions that are permitted for this touch. | 146 // the embedder of the touch actions that are permitted for this touch. |
147 virtual void setTouchAction(WebTouchAction touchAction) {} | 147 virtual void setTouchAction(WebTouchAction touchAction) {} |
148 | 148 |
149 // Called when value of focused text field gets dirty, e.g. value is | |
150 // modified by script, not by user input. | |
151 virtual void didUpdateTextOfFocusedElementByNonUserInput() {} | |
152 | |
153 // Request the browser to show the IME for current input type. | 149 // Request the browser to show the IME for current input type. |
154 virtual void showImeIfNeeded() {} | 150 virtual void showImeIfNeeded() {} |
155 | 151 |
156 // Request that the browser show a UI for an unhandled tap, if needed. | 152 // Request that the browser show a UI for an unhandled tap, if needed. |
157 // Invoked during the handling of a GestureTap input event whenever the | 153 // Invoked during the handling of a GestureTap input event whenever the |
158 // event is not consumed. | 154 // event is not consumed. |
159 // |tappedPosition| is the point where the mouseDown occurred in client | 155 // |tappedPosition| is the point where the mouseDown occurred in client |
160 // coordinates. | 156 // coordinates. |
161 // |tappedNode| is the node that the mouseDown event hit, provided so the | 157 // |tappedNode| is the node that the mouseDown event hit, provided so the |
162 // UI can be shown only on certain kinds of nodes in specific locations. | 158 // UI can be shown only on certain kinds of nodes in specific locations. |
(...skipping 28 matching lines...) Expand all Loading... |
191 const WebImage& dragImage, | 187 const WebImage& dragImage, |
192 const WebPoint& dragImageOffset) {} | 188 const WebPoint& dragImageOffset) {} |
193 | 189 |
194 protected: | 190 protected: |
195 ~WebWidgetClient() {} | 191 ~WebWidgetClient() {} |
196 }; | 192 }; |
197 | 193 |
198 } // namespace blink | 194 } // namespace blink |
199 | 195 |
200 #endif | 196 #endif |
OLD | NEW |