| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 WebHistoryCommitType) {} | 362 WebHistoryCommitType) {} |
| 363 | 363 |
| 364 // The provisional datasource is now committed. The first part of the | 364 // The provisional datasource is now committed. The first part of the |
| 365 // response body has been received, and the encoding of the response | 365 // response body has been received, and the encoding of the response |
| 366 // body is known. | 366 // body is known. |
| 367 virtual void didCommitProvisionalLoad(WebLocalFrame*, | 367 virtual void didCommitProvisionalLoad(WebLocalFrame*, |
| 368 const WebHistoryItem&, | 368 const WebHistoryItem&, |
| 369 WebHistoryCommitType) {} | 369 WebHistoryCommitType) {} |
| 370 | 370 |
| 371 // The frame's document has just been initialized. | 371 // The frame's document has just been initialized. |
| 372 virtual void didCreateNewDocument(WebLocalFrame* frame) {} | 372 virtual void didCreateNewDocument() {} |
| 373 | 373 |
| 374 // The window object for the frame has been cleared of any extra | 374 // The window object for the frame has been cleared of any extra |
| 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 |
| (...skipping 376 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 |