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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 // The document element has been created. | 290 // The document element has been created. |
291 virtual void didCreateDocumentElement(WebLocalFrame*) { } | 291 virtual void didCreateDocumentElement(WebLocalFrame*) { } |
292 | 292 |
293 // The page title is available. | 293 // The page title is available. |
294 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } | 294 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } |
295 | 295 |
296 // The icon for the page have changed. | 296 // The icon for the page have changed. |
297 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } | 297 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } |
298 | 298 |
299 // The frame's document finished loading. | 299 // The frame's document finished loading. |
| 300 virtual void didFinishDocumentLoad(WebLocalFrame* frame, bool documentIsEmpt
y) { didFinishDocumentLoad(frame); } |
| 301 // DEPRECATED |
300 virtual void didFinishDocumentLoad(WebLocalFrame*) { } | 302 virtual void didFinishDocumentLoad(WebLocalFrame*) { } |
301 | 303 |
302 // The 'load' event was dispatched. | 304 // The 'load' event was dispatched. |
303 virtual void didHandleOnloadEvents(WebLocalFrame*) { } | 305 virtual void didHandleOnloadEvents(WebLocalFrame*) { } |
304 | 306 |
305 // The frame's document or one of its subresources failed to load. The | 307 // The frame's document or one of its subresources failed to load. The |
306 // WebHistoryCommitType is the commit type that would have been used had the | 308 // WebHistoryCommitType is the commit type that would have been used had the |
307 // load succeeded. | 309 // load succeeded. |
308 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } | 310 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } |
309 | 311 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 return WebCustomHandlersNew; | 669 return WebCustomHandlersNew; |
668 } | 670 } |
669 | 671 |
670 protected: | 672 protected: |
671 virtual ~WebFrameClient() { } | 673 virtual ~WebFrameClient() { } |
672 }; | 674 }; |
673 | 675 |
674 } // namespace blink | 676 } // namespace blink |
675 | 677 |
676 #endif | 678 #endif |
OLD | NEW |