| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // LocalFrameClient ---------------------------------------------- | 58 // LocalFrameClient ---------------------------------------------- |
| 59 | 59 |
| 60 void didCreateNewDocument() override; | 60 void didCreateNewDocument() override; |
| 61 // Notifies the WebView delegate that the JS window object has been cleared, | 61 // Notifies the WebView delegate that the JS window object has been cleared, |
| 62 // giving it a chance to bind native objects to the window before script | 62 // giving it a chance to bind native objects to the window before script |
| 63 // parsing begins. | 63 // parsing begins. |
| 64 void dispatchDidClearWindowObjectInMainWorld() override; | 64 void dispatchDidClearWindowObjectInMainWorld() override; |
| 65 void documentElementAvailable() override; | 65 void documentElementAvailable() override; |
| 66 void runScriptsAtDocumentElementAvailable() override; | 66 void runScriptsAtDocumentElementAvailable() override; |
| 67 void runScriptsAtDocumentReady(bool documentIsEmpty) override; | 67 void runScriptsAtDocumentReady(bool documentIsEmpty) override; |
| 68 void runScriptsAtDocumentIdle() override; |
| 68 | 69 |
| 69 void didCreateScriptContext(v8::Local<v8::Context>, int worldId) override; | 70 void didCreateScriptContext(v8::Local<v8::Context>, 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; |
| 77 Frame* opener() const override; | 78 Frame* opener() const override; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 238 |
| 238 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 239 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
| 239 LocalFrameClient, | 240 LocalFrameClient, |
| 240 client, | 241 client, |
| 241 client->isLocalFrameClientImpl(), | 242 client->isLocalFrameClientImpl(), |
| 242 client.isLocalFrameClientImpl()); | 243 client.isLocalFrameClientImpl()); |
| 243 | 244 |
| 244 } // namespace blink | 245 } // namespace blink |
| 245 | 246 |
| 246 #endif | 247 #endif |
| OLD | NEW |