| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 // body is known. | 377 // body is known. |
| 378 virtual void DidCommitProvisionalLoad(const WebHistoryItem&, | 378 virtual void DidCommitProvisionalLoad(const WebHistoryItem&, |
| 379 WebHistoryCommitType) {} | 379 WebHistoryCommitType) {} |
| 380 | 380 |
| 381 // The frame's document has just been initialized. | 381 // The frame's document has just been initialized. |
| 382 virtual void DidCreateNewDocument(WebLocalFrame* frame) {} | 382 virtual void DidCreateNewDocument(WebLocalFrame* frame) {} |
| 383 | 383 |
| 384 // The window object for the frame has been cleared of any extra | 384 // The window object for the frame has been cleared of any extra |
| 385 // properties that may have been set by script from the previously | 385 // properties that may have been set by script from the previously |
| 386 // loaded document. | 386 // loaded document. |
| 387 virtual void DidClearWindowObject(WebLocalFrame* frame) {} | 387 virtual void DidClearWindowObject() {} |
| 388 | 388 |
| 389 // The document element has been created. | 389 // The document element has been created. |
| 390 // This method may not invalidate the frame, nor execute JavaScript code. | 390 // This method may not invalidate the frame, nor execute JavaScript code. |
| 391 virtual void DidCreateDocumentElement(WebLocalFrame*) {} | 391 virtual void DidCreateDocumentElement(WebLocalFrame*) {} |
| 392 | 392 |
| 393 // Like |didCreateDocumentElement|, except this method may run JavaScript | 393 // Like |didCreateDocumentElement|, except this method may run JavaScript |
| 394 // code (and possibly invalidate the frame). | 394 // code (and possibly invalidate the frame). |
| 395 virtual void RunScriptsAtDocumentElementAvailable(WebLocalFrame*) {} | 395 virtual void RunScriptsAtDocumentElementAvailable(WebLocalFrame*) {} |
| 396 | 396 |
| 397 // The page title is available. | 397 // The page title is available. |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 // Overwrites the given URL to use an HTML5 embed if possible. | 767 // Overwrites the given URL to use an HTML5 embed if possible. |
| 768 // An empty URL is returned if the URL is not overriden. | 768 // An empty URL is returned if the URL is not overriden. |
| 769 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 769 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 770 return WebURL(); | 770 return WebURL(); |
| 771 } | 771 } |
| 772 }; | 772 }; |
| 773 | 773 |
| 774 } // namespace blink | 774 } // namespace blink |
| 775 | 775 |
| 776 #endif | 776 #endif |
| OLD | NEW |