| 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 | 642 |
| 643 // Geometry notifications ---------------------------------------------- | 643 // Geometry notifications ---------------------------------------------- |
| 644 | 644 |
| 645 // The main frame scrolled. | 645 // The main frame scrolled. |
| 646 virtual void DidChangeScrollOffset() {} | 646 virtual void DidChangeScrollOffset() {} |
| 647 | 647 |
| 648 // If the frame is loading an HTML document, this will be called to | 648 // If the frame is loading an HTML document, this will be called to |
| 649 // notify that the <body> will be attached soon. | 649 // notify that the <body> will be attached soon. |
| 650 virtual void WillInsertBody(WebLocalFrame*) {} | 650 virtual void WillInsertBody(WebLocalFrame*) {} |
| 651 | 651 |
| 652 // Informs the browser that the draggable regions have been updated. |
| 653 virtual void DraggableRegionsChanged() {} |
| 654 |
| 652 // Find-in-page notifications ------------------------------------------ | 655 // Find-in-page notifications ------------------------------------------ |
| 653 | 656 |
| 654 // Notifies how many matches have been found in this frame so far, for a | 657 // Notifies how many matches have been found in this frame so far, for a |
| 655 // given identifier. |finalUpdate| specifies whether this is the last | 658 // given identifier. |finalUpdate| specifies whether this is the last |
| 656 // update for this frame. | 659 // update for this frame. |
| 657 virtual void ReportFindInPageMatchCount(int identifier, | 660 virtual void ReportFindInPageMatchCount(int identifier, |
| 658 int count, | 661 int count, |
| 659 bool final_update) {} | 662 bool final_update) {} |
| 660 | 663 |
| 661 // Notifies what tick-mark rect is currently selected. The given | 664 // Notifies what tick-mark rect is currently selected. The given |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 return kWebPageVisibilityStateVisible; | 801 return kWebPageVisibilityStateVisible; |
| 799 } | 802 } |
| 800 | 803 |
| 801 // Overwrites the given URL to use an HTML5 embed if possible. | 804 // Overwrites the given URL to use an HTML5 embed if possible. |
| 802 // An empty URL is returned if the URL is not overriden. | 805 // An empty URL is returned if the URL is not overriden. |
| 803 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 806 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 804 return WebURL(); | 807 return WebURL(); |
| 805 } | 808 } |
| 806 | 809 |
| 807 // Loading -------------------------------------------------------------- | 810 // Loading -------------------------------------------------------------- |
| 811 |
| 808 virtual std::unique_ptr<blink::WebURLLoader> CreateURLLoader() { | 812 virtual std::unique_ptr<blink::WebURLLoader> CreateURLLoader() { |
| 809 NOTREACHED(); | 813 NOTREACHED(); |
| 810 return nullptr; | 814 return nullptr; |
| 811 } | 815 } |
| 812 }; | 816 }; |
| 813 | 817 |
| 814 } // namespace blink | 818 } // namespace blink |
| 815 | 819 |
| 816 #endif | 820 #endif |
| OLD | NEW |