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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // The provisional datasource is now committed. The first part of the | 264 // The provisional datasource is now committed. The first part of the |
265 // response body has been received, and the encoding of the response | 265 // response body has been received, and the encoding of the response |
266 // body is known. | 266 // body is known. |
267 virtual void didCommitProvisionalLoad(WebLocalFrame*, const WebHistoryItem&,
WebHistoryCommitType) { } | 267 virtual void didCommitProvisionalLoad(WebLocalFrame*, const WebHistoryItem&,
WebHistoryCommitType) { } |
268 | 268 |
269 // The window object for the frame has been cleared of any extra | 269 // The window object for the frame has been cleared of any extra |
270 // properties that may have been set by script from the previously | 270 // properties that may have been set by script from the previously |
271 // loaded document. | 271 // loaded document. |
272 virtual void didClearWindowObject(WebLocalFrame* frame) { } | 272 virtual void didClearWindowObject(WebLocalFrame* frame) { } |
273 | 273 |
| 274 // The document for the frame is about to be replaced due to a javascript:'.
..' navigation. |
| 275 virtual void willReplaceDocumentWhileExecutingJavaScriptURL(WebLocalFrame* f
rame) { } |
| 276 |
274 // The document element has been created. | 277 // The document element has been created. |
275 virtual void didCreateDocumentElement(WebLocalFrame*) { } | 278 virtual void didCreateDocumentElement(WebLocalFrame*) { } |
276 | 279 |
277 // The page title is available. | 280 // The page title is available. |
278 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } | 281 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } |
279 | 282 |
280 // The icon for the page have changed. | 283 // The icon for the page have changed. |
281 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } | 284 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } |
282 | 285 |
283 // The frame's document finished loading. | 286 // The frame's document finished loading. |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 // associated with the WebDataSource. | 573 // associated with the WebDataSource. |
571 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 574 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
572 | 575 |
573 protected: | 576 protected: |
574 virtual ~WebFrameClient() { } | 577 virtual ~WebFrameClient() { } |
575 }; | 578 }; |
576 | 579 |
577 } // namespace blink | 580 } // namespace blink |
578 | 581 |
579 #endif | 582 #endif |
OLD | NEW |