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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) { } | 305 virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) { } |
306 | 306 |
307 // The page title is available. | 307 // The page title is available. |
308 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } | 308 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W
ebTextDirection direction) { } |
309 | 309 |
310 // The icon for the page have changed. | 310 // The icon for the page have changed. |
311 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } | 311 virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { } |
312 | 312 |
313 // The frame's document finished loading. | 313 // The frame's document finished loading. |
314 // This method may not execute JavaScript code. | 314 // This method may not execute JavaScript code. |
315 virtual void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) { } | 315 virtual void didFinishDocumentLoad(WebLocalFrame*) { } |
316 | 316 |
317 // Like |didFinishDocumentLoad|, except this method may run JavaScript | 317 // Like |didFinishDocumentLoad|, except this method may run JavaScript |
318 // code (and possibly invalidate the frame). | 318 // code (and possibly invalidate the frame). |
319 virtual void runScriptsAtDocumentReady(WebLocalFrame*) { } | 319 virtual void runScriptsAtDocumentReady(WebLocalFrame*, bool documentIsEmpty)
{ } |
320 | 320 |
321 // The 'load' event was dispatched. | 321 // The 'load' event was dispatched. |
322 virtual void didHandleOnloadEvents(WebLocalFrame*) { } | 322 virtual void didHandleOnloadEvents(WebLocalFrame*) { } |
323 | 323 |
324 // The frame's document or one of its subresources failed to load. The | 324 // The frame's document or one of its subresources failed to load. The |
325 // WebHistoryCommitType is the commit type that would have been used had the | 325 // WebHistoryCommitType is the commit type that would have been used had the |
326 // load succeeded. | 326 // load succeeded. |
327 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } | 327 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } |
328 | 328 |
329 // The frame's document and all of its subresources succeeded to load. | 329 // The frame's document and all of its subresources succeeded to load. |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 // This method takes ownership of the callbacks pointer. | 709 // This method takes ownership of the callbacks pointer. |
710 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 710 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
711 | 711 |
712 protected: | 712 protected: |
713 virtual ~WebFrameClient() { } | 713 virtual ~WebFrameClient() { } |
714 }; | 714 }; |
715 | 715 |
716 } // namespace blink | 716 } // namespace blink |
717 | 717 |
718 #endif | 718 #endif |
OLD | NEW |