| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 // WebHistoryCommitType is the commit type that would have been used had the | 339 // WebHistoryCommitType is the commit type that would have been used had the |
| 340 // load succeeded. | 340 // load succeeded. |
| 341 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } | 341 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi
tType) { } |
| 342 | 342 |
| 343 // The frame's document and all of its subresources succeeded to load. | 343 // The frame's document and all of its subresources succeeded to load. |
| 344 virtual void didFinishLoad(WebLocalFrame*) { } | 344 virtual void didFinishLoad(WebLocalFrame*) { } |
| 345 | 345 |
| 346 // The navigation resulted in no change to the documents within the page. | 346 // The navigation resulted in no change to the documents within the page. |
| 347 // For example, the navigation may have just resulted in scrolling to a | 347 // For example, the navigation may have just resulted in scrolling to a |
| 348 // named anchor or a PopState event may have been dispatched. | 348 // named anchor or a PopState event may have been dispatched. |
| 349 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType) { } | 349 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType, bool contentInitiated) { } |
| 350 | 350 |
| 351 // Called upon update to scroll position, document state, and other | 351 // Called upon update to scroll position, document state, and other |
| 352 // non-navigational events related to the data held by WebHistoryItem. | 352 // non-navigational events related to the data held by WebHistoryItem. |
| 353 // WARNING: This method may be called very frequently. | 353 // WARNING: This method may be called very frequently. |
| 354 virtual void didUpdateCurrentHistoryItem() { } | 354 virtual void didUpdateCurrentHistoryItem() { } |
| 355 | 355 |
| 356 // The frame's manifest has changed. | 356 // The frame's manifest has changed. |
| 357 virtual void didChangeManifest() { } | 357 virtual void didChangeManifest() { } |
| 358 | 358 |
| 359 // The frame's theme color has changed. | 359 // The frame's theme color has changed. |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 // Mojo ---------------------------------------------------------------- | 718 // Mojo ---------------------------------------------------------------- |
| 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 720 | 720 |
| 721 protected: | 721 protected: |
| 722 virtual ~WebFrameClient() { } | 722 virtual ~WebFrameClient() { } |
| 723 }; | 723 }; |
| 724 | 724 |
| 725 } // namespace blink | 725 } // namespace blink |
| 726 | 726 |
| 727 #endif | 727 #endif |
| OLD | NEW |