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