| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 | 9 |
| 10 MSVC_PUSH_WARNING_LEVEL(0); | 10 MSVC_PUSH_WARNING_LEVEL(0); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // WebCore::FrameLoaderClient ---------------------------------------------- | 42 // WebCore::FrameLoaderClient ---------------------------------------------- |
| 43 | 43 |
| 44 virtual void frameLoaderDestroyed(); | 44 virtual void frameLoaderDestroyed(); |
| 45 | 45 |
| 46 // Notifies the WebView delegate that the JS window object has been cleared, | 46 // Notifies the WebView delegate that the JS window object has been cleared, |
| 47 // giving it a chance to bind native objects to the window before script | 47 // giving it a chance to bind native objects to the window before script |
| 48 // parsing begins. | 48 // parsing begins. |
| 49 virtual void windowObjectCleared(); | 49 virtual void windowObjectCleared(); |
| 50 virtual void documentElementAvailable(); | 50 virtual void documentElementAvailable(); |
| 51 | 51 |
| 52 virtual void didCreateScriptContext(); | 52 // TODO(mpcomplete): remove these when we pick up webkit r45871 |
| 53 virtual void didDestroyScriptContext(); | 53 virtual void didCreateScriptContext() { didCreateScriptContextForFrame(); } |
| 54 virtual void didDestroyScriptContext() { didDestroyScriptContextForFrame(); } |
| 55 |
| 56 // A frame's V8 context was created or destroyed. |
| 57 virtual void didCreateScriptContextForFrame(); |
| 58 virtual void didDestroyScriptContextForFrame(); |
| 59 |
| 60 // A context untied to a frame was created (through evaluateInNewContext). |
| 61 // This context is not tied to the lifetime of its frame, and is destroyed |
| 62 // in garbage collection. |
| 63 virtual void didCreateIsolatedScriptContext(); |
| 54 | 64 |
| 55 virtual bool hasWebView() const; // mainly for assertions | 65 virtual bool hasWebView() const; // mainly for assertions |
| 56 virtual bool hasFrameView() const; // ditto | 66 virtual bool hasFrameView() const; // ditto |
| 57 | 67 |
| 58 virtual void makeRepresentation(WebCore::DocumentLoader*); | 68 virtual void makeRepresentation(WebCore::DocumentLoader*); |
| 59 virtual void forceLayout(); | 69 virtual void forceLayout(); |
| 60 virtual void forceLayoutForNonHTML(); | 70 virtual void forceLayoutForNonHTML(); |
| 61 | 71 |
| 62 virtual void setCopiesOnScroll(); | 72 virtual void setCopiesOnScroll(); |
| 63 | 73 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 266 |
| 257 // Indicates if we need to send over the initial notification to the plugin | 267 // Indicates if we need to send over the initial notification to the plugin |
| 258 // which specifies that the plugin should be ready to accept data. | 268 // which specifies that the plugin should be ready to accept data. |
| 259 bool sent_initial_response_to_plugin_; | 269 bool sent_initial_response_to_plugin_; |
| 260 | 270 |
| 261 // The disposition to use for the next call to dispatchCreatePage. | 271 // The disposition to use for the next call to dispatchCreatePage. |
| 262 WindowOpenDisposition next_window_open_disposition_; | 272 WindowOpenDisposition next_window_open_disposition_; |
| 263 }; | 273 }; |
| 264 | 274 |
| 265 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 275 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| OLD | NEW |