| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) { } | 314 virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) { } |
| 315 | 315 |
| 316 // The page title is available. | 316 // The page title is available. |
| 317 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } | 317 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } |
| 318 | 318 |
| 319 // The icon for the page have changed. | 319 // The icon for the page have changed. |
| 320 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } | 320 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } |
| 321 | 321 |
| 322 // The frame's document finished loading. | 322 // The frame's document finished loading. |
| 323 // This method may not execute JavaScript code. | 323 // This method may not execute JavaScript code. |
| 324 virtual void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) { } | 324 virtual void didFinishDocumentLoad(WebLocalFrame*) { } |
| 325 | 325 |
| 326 // Like |didFinishDocumentLoad|, except this method may run JavaScript | 326 // Like |didFinishDocumentLoad|, except this method may run JavaScript |
| 327 // code (and possibly invalidate the frame). | 327 // code (and possibly invalidate the frame). |
| 328 virtual void runScriptsAtDocumentReady(WebLocalFrame*) { } | 328 virtual void runScriptsAtDocumentReady(WebLocalFrame*, bool documentIsEmpty)
{ } |
| 329 | 329 |
| 330 // The 'load' event was dispatched. | 330 // The 'load' event was dispatched. |
| 331 virtual void didHandleOnloadEvents(WebLocalFrame*) { } | 331 virtual void didHandleOnloadEvents(WebLocalFrame*) { } |
| 332 | 332 |
| 333 // The frame's document or one of its subresources failed to load. The | 333 // The frame's document or one of its subresources failed to load. The |
| 334 // WebHistoryCommitType is the commit type that would have been used had the | 334 // WebHistoryCommitType is the commit type that would have been used had the |
| 335 // load succeeded. | 335 // load succeeded. |
| 336 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } | 336 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } |
| 337 | 337 |
| 338 // The frame's document and all of its subresources succeeded to load. | 338 // The frame's document and all of its subresources succeeded to load. |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 // This method takes ownership of the callbacks pointer. | 720 // This method takes ownership of the callbacks pointer. |
| 721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 722 | 722 |
| 723 protected: | 723 protected: |
| 724 virtual ~WebFrameClient() { } | 724 virtual ~WebFrameClient() { } |
| 725 }; | 725 }; |
| 726 | 726 |
| 727 } // namespace blink | 727 } // namespace blink |
| 728 | 728 |
| 729 #endif | 729 #endif |
| OLD | NEW |