| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // is the newly focused node. Either can be null. | 188 // is the newly focused node. Either can be null. |
| 189 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo
de) { } | 189 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo
de) { } |
| 190 | 190 |
| 191 // Indicates two things: | 191 // Indicates two things: |
| 192 // 1) This view may have a new layout now. | 192 // 1) This view may have a new layout now. |
| 193 // 2) Calling layout() is a no-op. | 193 // 2) Calling layout() is a no-op. |
| 194 // After calling WebWidget::layout(), expect to get this notification | 194 // After calling WebWidget::layout(), expect to get this notification |
| 195 // unless the view did not need a layout. | 195 // unless the view did not need a layout. |
| 196 virtual void didUpdateLayout() { } | 196 virtual void didUpdateLayout() { } |
| 197 | 197 |
| 198 // The frame's document finished layout immediately after the parsing finish
ed. | |
| 199 // Another way to put it: first frame after DOMContentLoaded is dispatched. | |
| 200 virtual void didFirstLayoutAfterFinishedParsing() { } | |
| 201 | |
| 202 // Return true to swallow the input event if the embedder will start a disam
biguation popup | 198 // Return true to swallow the input event if the embedder will start a disam
biguation popup |
| 203 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const
WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; } | 199 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const
WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; } |
| 204 | 200 |
| 205 // Returns comma separated list of accept languages. | 201 // Returns comma separated list of accept languages. |
| 206 virtual WebString acceptLanguages() { return WebString(); } | 202 virtual WebString acceptLanguages() { return WebString(); } |
| 207 | 203 |
| 208 | 204 |
| 209 // Session history ----------------------------------------------------- | 205 // Session history ----------------------------------------------------- |
| 210 | 206 |
| 211 // Tells the embedder to navigate back or forward in session history by | 207 // Tells the embedder to navigate back or forward in session history by |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // Informs the browser that the draggable regions have been updated. | 268 // Informs the browser that the draggable regions have been updated. |
| 273 virtual void draggableRegionsChanged() { } | 269 virtual void draggableRegionsChanged() { } |
| 274 | 270 |
| 275 protected: | 271 protected: |
| 276 ~WebViewClient() { } | 272 ~WebViewClient() { } |
| 277 }; | 273 }; |
| 278 | 274 |
| 279 } // namespace blink | 275 } // namespace blink |
| 280 | 276 |
| 281 #endif | 277 #endif |
| OLD | NEW |