| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType,
const WebString& frameName, WebSandboxFlags sandboxFlags) { return nullptr; } | 152 virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType,
const WebString& frameName, WebSandboxFlags sandboxFlags) { return nullptr; } |
| 153 | 153 |
| 154 // This frame set its opener to null, disowning it. | 154 // This frame set its opener to null, disowning it. |
| 155 // See http://html.spec.whatwg.org/#dom-opener. | 155 // See http://html.spec.whatwg.org/#dom-opener. |
| 156 virtual void didDisownOpener(WebLocalFrame*) { } | 156 virtual void didDisownOpener(WebLocalFrame*) { } |
| 157 | 157 |
| 158 // Specifies the reason for the detachment. | 158 // Specifies the reason for the detachment. |
| 159 enum class DetachType { Remove, Swap }; | 159 enum class DetachType { Remove, Swap }; |
| 160 | 160 |
| 161 // This frame has been detached from the view, but has not been closed yet. | 161 // This frame has been detached from the view, but has not been closed yet. |
| 162 virtual void frameDetached(WebFrame*, DetachType) { } | 162 virtual void frameDetached(WebFrame*) { } |
| 163 | 163 |
| 164 // This frame has become focused.. | 164 // This frame has become focused.. |
| 165 virtual void frameFocused() { } | 165 virtual void frameFocused() { } |
| 166 | 166 |
| 167 // This frame is about to be closed. This is called after frameDetached, | 167 // This frame is about to be closed. This is called after frameDetached, |
| 168 // when the document is being unloaded, due to new one committing. | 168 // when the document is being unloaded, due to new one committing. |
| 169 virtual void willClose(WebFrame*) { } | 169 virtual void willClose(WebFrame*) { } |
| 170 | 170 |
| 171 // This frame's name has changed. | 171 // This frame's name has changed. |
| 172 virtual void didChangeName(WebLocalFrame*, const WebString&) { } | 172 virtual void didChangeName(WebLocalFrame*, const WebString&) { } |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 // App Banners --------------------------------------------------------- | 646 // App Banners --------------------------------------------------------- |
| 647 virtual WebAppBannerClient* appBannerClient() { return 0; } | 647 virtual WebAppBannerClient* appBannerClient() { return 0; } |
| 648 | 648 |
| 649 protected: | 649 protected: |
| 650 virtual ~WebFrameClient() { } | 650 virtual ~WebFrameClient() { } |
| 651 }; | 651 }; |
| 652 | 652 |
| 653 } // namespace blink | 653 } // namespace blink |
| 654 | 654 |
| 655 #endif | 655 #endif |
| OLD | NEW |