| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 virtual void willSendSubmitEvent(WebLocalFrame*, const WebFormElement&) { } | 234 virtual void willSendSubmitEvent(WebLocalFrame*, const WebFormElement&) { } |
| 235 | 235 |
| 236 // A form submission is about to occur. | 236 // A form submission is about to occur. |
| 237 virtual void willSubmitForm(WebLocalFrame*, const WebFormElement&) { } | 237 virtual void willSubmitForm(WebLocalFrame*, const WebFormElement&) { } |
| 238 | 238 |
| 239 // A datasource has been created for a new navigation. The given | 239 // A datasource has been created for a new navigation. The given |
| 240 // datasource will become the provisional datasource for the frame. | 240 // datasource will become the provisional datasource for the frame. |
| 241 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) { } | 241 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) { } |
| 242 | 242 |
| 243 // A new provisional load has been started. | 243 // A new provisional load has been started. |
| 244 virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, bool isTrans
itionNavigation) { didStartProvisionalLoad(localFrame); } | 244 virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, bool isTrans
itionNavigation) { } |
| 245 // DEPRECATED | |
| 246 virtual void didStartProvisionalLoad(WebLocalFrame*) { } | |
| 247 | 245 |
| 248 // The provisional load was redirected via a HTTP 3xx response. | 246 // The provisional load was redirected via a HTTP 3xx response. |
| 249 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } | 247 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } |
| 250 | 248 |
| 251 // The provisional load failed. | 249 // The provisional load failed. |
| 252 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&) { } | 250 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&) { } |
| 253 | 251 |
| 254 // The provisional datasource is now committed. The first part of the | 252 // The provisional datasource is now committed. The first part of the |
| 255 // response body has been received, and the encoding of the response | 253 // response body has been received, and the encoding of the response |
| 256 // body is known. | 254 // body is known. |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 // Access the embedder API for (client-based) screen orientation client . | 552 // Access the embedder API for (client-based) screen orientation client . |
| 555 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 553 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 556 | 554 |
| 557 protected: | 555 protected: |
| 558 virtual ~WebFrameClient() { } | 556 virtual ~WebFrameClient() { } |
| 559 }; | 557 }; |
| 560 | 558 |
| 561 } // namespace blink | 559 } // namespace blink |
| 562 | 560 |
| 563 #endif | 561 #endif |
| OLD | NEW |