| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // properties that may have been set by script from the previously | 375 // properties that may have been set by script from the previously |
| 376 // loaded document. | 376 // loaded document. |
| 377 virtual void didClearWindowObject(WebLocalFrame* frame) {} | 377 virtual void didClearWindowObject(WebLocalFrame* frame) {} |
| 378 | 378 |
| 379 // The document element has been created. | 379 // The document element has been created. |
| 380 // This method may not invalidate the frame, nor execute JavaScript code. | 380 // This method may not invalidate the frame, nor execute JavaScript code. |
| 381 virtual void didCreateDocumentElement(WebLocalFrame*) {} | 381 virtual void didCreateDocumentElement(WebLocalFrame*) {} |
| 382 | 382 |
| 383 // Like |didCreateDocumentElement|, except this method may run JavaScript | 383 // Like |didCreateDocumentElement|, except this method may run JavaScript |
| 384 // code (and possibly invalidate the frame). | 384 // code (and possibly invalidate the frame). |
| 385 virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) {} | 385 virtual void runScriptsAtDocumentElementAvailable() {} |
| 386 | 386 |
| 387 // The page title is available. | 387 // The page title is available. |
| 388 virtual void didReceiveTitle(WebLocalFrame* frame, | 388 virtual void didReceiveTitle(WebLocalFrame* frame, |
| 389 const WebString& title, | 389 const WebString& title, |
| 390 WebTextDirection direction) {} | 390 WebTextDirection direction) {} |
| 391 | 391 |
| 392 // The icon for the page have changed. | 392 // The icon for the page have changed. |
| 393 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) {} | 393 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) {} |
| 394 | 394 |
| 395 // The frame's document finished loading. | 395 // The frame's document finished loading. |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 // Overwrites the given URL to use an HTML5 embed if possible. | 759 // Overwrites the given URL to use an HTML5 embed if possible. |
| 760 // An empty URL is returned if the URL is not overriden. | 760 // An empty URL is returned if the URL is not overriden. |
| 761 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 761 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 762 return WebURL(); | 762 return WebURL(); |
| 763 } | 763 } |
| 764 }; | 764 }; |
| 765 | 765 |
| 766 } // namespace blink | 766 } // namespace blink |
| 767 | 767 |
| 768 #endif | 768 #endif |
| OLD | NEW |