| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 virtual bool acceptsLoadDrops() { return true; } | 193 virtual bool acceptsLoadDrops() { return true; } |
| 194 | 194 |
| 195 // Take focus away from the WebView by focusing an adjacent UI element | 195 // Take focus away from the WebView by focusing an adjacent UI element |
| 196 // in the containing window. | 196 // in the containing window. |
| 197 virtual void focusNext() { } | 197 virtual void focusNext() { } |
| 198 virtual void focusPrevious() { } | 198 virtual void focusPrevious() { } |
| 199 | 199 |
| 200 // Called when a new node gets focused. | 200 // Called when a new node gets focused. |
| 201 virtual void focusedNodeChanged(const WebNode&) { } | 201 virtual void focusedNodeChanged(const WebNode&) { } |
| 202 | 202 |
| 203 virtual void numberOfWheelEventHandlersChanged(unsigned) { } | |
| 204 | |
| 205 // Indicates two things: | 203 // Indicates two things: |
| 206 // 1) This view may have a new layout now. | 204 // 1) This view may have a new layout now. |
| 207 // 2) Calling layout() is a no-op. | 205 // 2) Calling layout() is a no-op. |
| 208 // After calling WebWidget::layout(), expect to get this notification | 206 // After calling WebWidget::layout(), expect to get this notification |
| 209 // unless the view did not need a layout. | 207 // unless the view did not need a layout. |
| 210 virtual void didUpdateLayout() { } | 208 virtual void didUpdateLayout() { } |
| 211 | 209 |
| 212 // Return true to swallow the input event if the embedder will start a disam
biguation popup | 210 // Return true to swallow the input event if the embedder will start a disam
biguation popup |
| 213 virtual bool didTapMultipleTargets(const WebGestureEvent&, const WebVector<W
ebRect>& targetRects) { return false; } | 211 virtual bool didTapMultipleTargets(const WebGestureEvent&, const WebVector<W
ebRect>& targetRects) { return false; } |
| 214 | 212 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // Informs the browser that the draggable regions have been updated. | 322 // Informs the browser that the draggable regions have been updated. |
| 325 virtual void draggableRegionsChanged() { } | 323 virtual void draggableRegionsChanged() { } |
| 326 | 324 |
| 327 protected: | 325 protected: |
| 328 ~WebViewClient() { } | 326 ~WebViewClient() { } |
| 329 }; | 327 }; |
| 330 | 328 |
| 331 } // namespace blink | 329 } // namespace blink |
| 332 | 330 |
| 333 #endif | 331 #endif |
| OLD | NEW |