| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 277 |
| 278 // A form submission has been requested, but the page's submit event handler | 278 // A form submission has been requested, but the page's submit event handler |
| 279 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) | 279 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) |
| 280 virtual void willSendSubmitEvent(const WebFormElement&) { } | 280 virtual void willSendSubmitEvent(const WebFormElement&) { } |
| 281 | 281 |
| 282 // A form submission is about to occur. | 282 // A form submission is about to occur. |
| 283 virtual void willSubmitForm(const WebFormElement&) { } | 283 virtual void willSubmitForm(const WebFormElement&) { } |
| 284 | 284 |
| 285 // A datasource has been created for a new navigation. The given | 285 // A datasource has been created for a new navigation. The given |
| 286 // datasource will become the provisional datasource for the frame. | 286 // datasource will become the provisional datasource for the frame. |
| 287 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) { } | 287 // enum class Initiator { InitialEmptyDocument = 0, ContentInitiated = 1, No
nContentInitiated = 2 }; |
| 288 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*, int initiat
or) { } |
| 288 | 289 |
| 289 // A new provisional load has been started. | 290 // A new provisional load has been started. |
| 290 virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, double trigg
eringEventTime) { } | 291 virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, double trigg
eringEventTime) { } |
| 291 | 292 |
| 292 // The provisional load was redirected via a HTTP 3xx response. | 293 // The provisional load was redirected via a HTTP 3xx response. |
| 293 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } | 294 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } |
| 294 | 295 |
| 295 // The provisional load failed. The WebHistoryCommitType is the commit type | 296 // The provisional load failed. The WebHistoryCommitType is the commit type |
| 296 // that would have been used had the load succeeded. | 297 // that would have been used had the load succeeded. |
| 297 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&, WebH
istoryCommitType) { } | 298 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&, WebH
istoryCommitType) { } |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 // Mojo ---------------------------------------------------------------- | 712 // Mojo ---------------------------------------------------------------- |
| 712 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 713 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 713 | 714 |
| 714 protected: | 715 protected: |
| 715 virtual ~WebFrameClient() { } | 716 virtual ~WebFrameClient() { } |
| 716 }; | 717 }; |
| 717 | 718 |
| 718 } // namespace blink | 719 } // namespace blink |
| 719 | 720 |
| 720 #endif | 721 #endif |
| OLD | NEW |