| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 const WebFloatPoint& positionInViewport, | 136 const WebFloatPoint& positionInViewport, |
| 137 const WebFloatSize& velocityInViewport) {} | 137 const WebFloatSize& velocityInViewport) {} |
| 138 | 138 |
| 139 // Called to update if touch events should be sent. | 139 // Called to update if touch events should be sent. |
| 140 virtual void hasTouchEventHandlers(bool) {} | 140 virtual void hasTouchEventHandlers(bool) {} |
| 141 | 141 |
| 142 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform | 142 // Called during WebWidget::HandleInputEvent for a TouchStart event to inform |
| 143 // the embedder of the touch actions that are permitted for this touch. | 143 // the embedder of the touch actions that are permitted for this touch. |
| 144 virtual void setTouchAction(WebTouchAction touchAction) {} | 144 virtual void setTouchAction(WebTouchAction touchAction) {} |
| 145 | 145 |
| 146 // Request the browser to show the IME for current input type. | 146 // Request the browser to show virtual keyboard for current input type. |
| 147 virtual void showImeIfNeeded() {} | 147 virtual void showVirtualKeyboard() {} |
| 148 | 148 |
| 149 // Request that the browser show a UI for an unhandled tap, if needed. | 149 // Request that the browser show a UI for an unhandled tap, if needed. |
| 150 // Invoked during the handling of a GestureTap input event whenever the | 150 // Invoked during the handling of a GestureTap input event whenever the |
| 151 // event is not consumed. | 151 // event is not consumed. |
| 152 // |tappedPosition| is the point where the mouseDown occurred in client | 152 // |tappedPosition| is the point where the mouseDown occurred in client |
| 153 // coordinates. | 153 // coordinates. |
| 154 // |tappedNode| is the node that the mouseDown event hit, provided so the | 154 // |tappedNode| is the node that the mouseDown event hit, provided so the |
| 155 // UI can be shown only on certain kinds of nodes in specific locations. | 155 // UI can be shown only on certain kinds of nodes in specific locations. |
| 156 // |pageChanged| is true if and only if the DOM tree or style was | 156 // |pageChanged| is true if and only if the DOM tree or style was |
| 157 // modified during the dispatch of the mouse*, or click events associated | 157 // modified during the dispatch of the mouse*, or click events associated |
| (...skipping 26 matching lines...) Expand all Loading... |
| 184 const WebImage& dragImage, | 184 const WebImage& dragImage, |
| 185 const WebPoint& dragImageOffset) {} | 185 const WebPoint& dragImageOffset) {} |
| 186 | 186 |
| 187 protected: | 187 protected: |
| 188 ~WebWidgetClient() {} | 188 ~WebWidgetClient() {} |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| 192 | 192 |
| 193 #endif | 193 #endif |
| OLD | NEW |