| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // This frame has been detached from the view, but has not been closed yet. | 116 // This frame has been detached from the view, but has not been closed yet. |
| 117 virtual void frameDetached(WebFrame*) { } | 117 virtual void frameDetached(WebFrame*) { } |
| 118 | 118 |
| 119 // This frame is about to be closed. This is called after frameDetached, | 119 // This frame is about to be closed. This is called after frameDetached, |
| 120 // when the document is being unloaded, due to new one committing. | 120 // when the document is being unloaded, due to new one committing. |
| 121 virtual void willClose(WebFrame*) { } | 121 virtual void willClose(WebFrame*) { } |
| 122 | 122 |
| 123 // This frame's name has changed. | 123 // This frame's name has changed. |
| 124 virtual void didChangeName(WebFrame*, const WebString&) { } | 124 virtual void didChangeName(WebFrame*, const WebString&) { } |
| 125 | 125 |
| 126 // Called when a -webkit-callback CSS rule matches or stops matching. |
| 127 virtual void didMatchCss(WebFrame*, const WebVector<WebString>& newlyMatchin
gSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
| 128 |
| 126 // Load commands ------------------------------------------------------- | 129 // Load commands ------------------------------------------------------- |
| 127 | 130 |
| 128 // The client should handle the navigation externally. | 131 // The client should handle the navigation externally. |
| 129 virtual void loadURLExternally( | 132 virtual void loadURLExternally( |
| 130 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } | 133 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } |
| 131 virtual void loadURLExternally( | 134 virtual void loadURLExternally( |
| 132 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } | 135 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } |
| 133 | 136 |
| 134 | 137 |
| 135 // Navigational queries ------------------------------------------------ | 138 // Navigational queries ------------------------------------------------ |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 // Extensions3D.h in WebCore/platform/graphics). | 423 // Extensions3D.h in WebCore/platform/graphics). |
| 421 virtual void didLoseWebGLContext(WebFrame*, int) { } | 424 virtual void didLoseWebGLContext(WebFrame*, int) { } |
| 422 | 425 |
| 423 protected: | 426 protected: |
| 424 ~WebFrameClient() { } | 427 ~WebFrameClient() { } |
| 425 }; | 428 }; |
| 426 | 429 |
| 427 } // namespace WebKit | 430 } // namespace WebKit |
| 428 | 431 |
| 429 #endif | 432 #endif |
| OLD | NEW |