| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 // This frame has been detached from the view. | 105 // This frame has been detached from the view. |
| 106 // | 106 // |
| 107 // FIXME: Do not use this in new code. Currently this is used by code in | 107 // FIXME: Do not use this in new code. Currently this is used by code in |
| 108 // Chromium that errantly caches WebKit objects. | 108 // Chromium that errantly caches WebKit objects. |
| 109 virtual void frameDetached(WebFrame*) { } | 109 virtual void frameDetached(WebFrame*) { } |
| 110 | 110 |
| 111 // This frame is about to be closed. | 111 // This frame is about to be closed. |
| 112 virtual void willClose(WebFrame*) { } | 112 virtual void willClose(WebFrame*) { } |
| 113 | 113 |
| 114 // Indicates two things: | |
| 115 // 1) This frame may have a new layout now. | |
| 116 // 2) Calling layout() is a no-op. | |
| 117 // After calling WebWidget::layout(), expect to get this notification | |
| 118 // for each frame unless the frame did not need a layout. | |
| 119 virtual void didUpdateLayout(WebFrame*) { } | |
| 120 | |
| 121 // Load commands ------------------------------------------------------- | 114 // Load commands ------------------------------------------------------- |
| 122 | 115 |
| 123 // The client should handle the navigation externally. | 116 // The client should handle the navigation externally. |
| 124 virtual void loadURLExternally( | 117 virtual void loadURLExternally( |
| 125 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } | 118 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } |
| 126 virtual void loadURLExternally( | 119 virtual void loadURLExternally( |
| 127 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } | 120 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } |
| 128 | 121 |
| 129 | 122 |
| 130 // Navigational queries ------------------------------------------------ | 123 // Navigational queries ------------------------------------------------ |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 // the WebFrame starting the activity. | 385 // the WebFrame starting the activity. |
| 393 virtual void dispatchIntent(WebFrame*, const WebIntent&) { } | 386 virtual void dispatchIntent(WebFrame*, const WebIntent&) { } |
| 394 | 387 |
| 395 protected: | 388 protected: |
| 396 ~WebFrameClient() { } | 389 ~WebFrameClient() { } |
| 397 }; | 390 }; |
| 398 | 391 |
| 399 } // namespace WebKit | 392 } // namespace WebKit |
| 400 | 393 |
| 401 #endif | 394 #endif |
| OLD | NEW |