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