| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // FrameLoaderClient ---------------------------------------------- | 57 // FrameLoaderClient ---------------------------------------------- |
| 58 | 58 |
| 59 void didCreateNewDocument() override; | 59 void didCreateNewDocument() override; |
| 60 // Notifies the WebView delegate that the JS window object has been cleared, | 60 // Notifies the WebView delegate that the JS window object has been cleared, |
| 61 // giving it a chance to bind native objects to the window before script | 61 // giving it a chance to bind native objects to the window before script |
| 62 // parsing begins. | 62 // parsing begins. |
| 63 void dispatchDidClearWindowObjectInMainWorld() override; | 63 void dispatchDidClearWindowObjectInMainWorld() override; |
| 64 void documentElementAvailable() override; | 64 void documentElementAvailable() override; |
| 65 void runScriptsAtDocumentElementAvailable() override; | 65 void runScriptsAtDocumentElementAvailable() override; |
| 66 void runScriptsAtDocumentReady(bool documentIsEmpty) override; | 66 void runScriptsAtDocumentReady(bool documentIsEmpty) override; |
| 67 void runScriptsAtDocumentIdle() override; |
| 67 | 68 |
| 68 void didCreateScriptContext(v8::Local<v8::Context>, | 69 void didCreateScriptContext(v8::Local<v8::Context>, |
| 69 int worldId) override; | 70 int worldId) override; |
| 70 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override; | 71 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override; |
| 71 | 72 |
| 72 // Returns true if we should allow register V8 extensions to be added. | 73 // Returns true if we should allow register V8 extensions to be added. |
| 73 bool allowScriptExtensions() override; | 74 bool allowScriptExtensions() override; |
| 74 | 75 |
| 75 bool hasWebView() const override; | 76 bool hasWebView() const override; |
| 76 bool inShadowTree() const override; | 77 bool inShadowTree() const override; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 237 |
| 237 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, | 238 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, |
| 238 FrameLoaderClient, | 239 FrameLoaderClient, |
| 239 client, | 240 client, |
| 240 client->isFrameLoaderClientImpl(), | 241 client->isFrameLoaderClientImpl(), |
| 241 client.isFrameLoaderClientImpl()); | 242 client.isFrameLoaderClientImpl()); |
| 242 | 243 |
| 243 } // namespace blink | 244 } // namespace blink |
| 244 | 245 |
| 245 #endif | 246 #endif |
| OLD | NEW |