| 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 | 339 |
| 340 // A form submission has been requested, but the page's submit event handler | 340 // A form submission has been requested, but the page's submit event handler |
| 341 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) | 341 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) |
| 342 virtual void willSendSubmitEvent(const WebFormElement&) {} | 342 virtual void willSendSubmitEvent(const WebFormElement&) {} |
| 343 | 343 |
| 344 // A form submission is about to occur. | 344 // A form submission is about to occur. |
| 345 virtual void willSubmitForm(const WebFormElement&) {} | 345 virtual void willSubmitForm(const WebFormElement&) {} |
| 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(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(WebLocalFrame*) {} |
| 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. |
| (...skipping 399 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 |