| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 // A datasource has been created for a new navigation. The given | 347 // A datasource has been created for a new navigation. The given |
| 348 // datasource will become the provisional datasource for the frame. | 348 // datasource will become the provisional datasource for the frame. |
| 349 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {} | 349 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {} |
| 350 | 350 |
| 351 // A new provisional load has been started. | 351 // A new provisional load has been started. |
| 352 virtual void didStartProvisionalLoad(WebDataSource* dataSource, | 352 virtual void didStartProvisionalLoad(WebDataSource* dataSource, |
| 353 WebURLRequest& request) {} | 353 WebURLRequest& request) {} |
| 354 | 354 |
| 355 // The provisional load was redirected via a HTTP 3xx response. | 355 // The provisional load was redirected via a HTTP 3xx response. |
| 356 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) {} | 356 virtual void didReceiveServerRedirectForProvisionalLoad() {} |
| 357 | 357 |
| 358 // The provisional load failed. The WebHistoryCommitType is the commit type | 358 // The provisional load failed. The WebHistoryCommitType is the commit type |
| 359 // that would have been used had the load succeeded. | 359 // that would have been used had the load succeeded. |
| 360 virtual void didFailProvisionalLoad(WebLocalFrame*, | 360 virtual void didFailProvisionalLoad(WebLocalFrame*, |
| 361 const WebURLError&, | 361 const WebURLError&, |
| 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. |
| (...skipping 392 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 |