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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 virtual void willSendSubmitEvent(const WebFormElement&) {} | 339 virtual void willSendSubmitEvent(const WebFormElement&) {} |
340 | 340 |
341 // A form submission is about to occur. | 341 // A form submission is about to occur. |
342 virtual void willSubmitForm(const WebFormElement&) {} | 342 virtual void willSubmitForm(const WebFormElement&) {} |
343 | 343 |
344 // A datasource has been created for a new navigation. The given | 344 // A datasource has been created for a new navigation. The given |
345 // datasource will become the provisional datasource for the frame. | 345 // datasource will become the provisional datasource for the frame. |
346 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {} | 346 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {} |
347 | 347 |
348 // A new provisional load has been started. | 348 // A new provisional load has been started. |
349 virtual void didStartProvisionalLoad(WebDataSource* dataSource) {} | 349 virtual void didStartProvisionalLoad(WebDataSource* dataSource, |
| 350 WebURLRequest& request) {} |
350 | 351 |
351 // The provisional load was redirected via a HTTP 3xx response. | 352 // The provisional load was redirected via a HTTP 3xx response. |
352 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) {} | 353 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) {} |
353 | 354 |
354 // The provisional load failed. The WebHistoryCommitType is the commit type | 355 // The provisional load failed. The WebHistoryCommitType is the commit type |
355 // that would have been used had the load succeeded. | 356 // that would have been used had the load succeeded. |
356 virtual void didFailProvisionalLoad(WebLocalFrame*, | 357 virtual void didFailProvisionalLoad(WebLocalFrame*, |
357 const WebURLError&, | 358 const WebURLError&, |
358 WebHistoryCommitType) {} | 359 WebHistoryCommitType) {} |
359 | 360 |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 // Overwrites the given URL to use an HTML5 embed if possible. | 755 // Overwrites the given URL to use an HTML5 embed if possible. |
755 // An empty URL is returned if the URL is not overriden. | 756 // An empty URL is returned if the URL is not overriden. |
756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
757 return WebURL(); | 758 return WebURL(); |
758 } | 759 } |
759 }; | 760 }; |
760 | 761 |
761 } // namespace blink | 762 } // namespace blink |
762 | 763 |
763 #endif | 764 #endif |
OLD | NEW |