| 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 // WebKit is about to release its reference to a v8 context for a frame. | 583 // WebKit is about to release its reference to a v8 context for a frame. |
| 584 virtual void willReleaseScriptContext(WebLocalFrame*, | 584 virtual void willReleaseScriptContext(WebLocalFrame*, |
| 585 v8::Local<v8::Context>, | 585 v8::Local<v8::Context>, |
| 586 int worldId) {} | 586 int worldId) {} |
| 587 | 587 |
| 588 // Geometry notifications ---------------------------------------------- | 588 // Geometry notifications ---------------------------------------------- |
| 589 | 589 |
| 590 // The main frame scrolled. | 590 // The main frame scrolled. |
| 591 virtual void didChangeScrollOffset(WebLocalFrame*) {} | 591 virtual void didChangeScrollOffset(WebLocalFrame*) {} |
| 592 | 592 |
| 593 // The main frame restored page scale on load. |
| 594 virtual void didRestorePageScaleFactorOnLoad(float pageScale) {} |
| 595 |
| 593 // If the frame is loading an HTML document, this will be called to | 596 // If the frame is loading an HTML document, this will be called to |
| 594 // notify that the <body> will be attached soon. | 597 // notify that the <body> will be attached soon. |
| 595 virtual void willInsertBody(WebLocalFrame*) {} | 598 virtual void willInsertBody(WebLocalFrame*) {} |
| 596 | 599 |
| 597 // Find-in-page notifications ------------------------------------------ | 600 // Find-in-page notifications ------------------------------------------ |
| 598 | 601 |
| 599 // Notifies how many matches have been found in this frame so far, for a | 602 // Notifies how many matches have been found in this frame so far, for a |
| 600 // given identifier. |finalUpdate| specifies whether this is the last | 603 // given identifier. |finalUpdate| specifies whether this is the last |
| 601 // update for this frame. | 604 // update for this frame. |
| 602 virtual void reportFindInPageMatchCount(int identifier, | 605 virtual void reportFindInPageMatchCount(int identifier, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 // Overwrites the given URL to use an HTML5 embed if possible. | 761 // Overwrites the given URL to use an HTML5 embed if possible. |
| 759 // An empty URL is returned if the URL is not overriden. | 762 // An empty URL is returned if the URL is not overriden. |
| 760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 763 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 761 return WebURL(); | 764 return WebURL(); |
| 762 } | 765 } |
| 763 }; | 766 }; |
| 764 | 767 |
| 765 } // namespace blink | 768 } // namespace blink |
| 766 | 769 |
| 767 #endif | 770 #endif |
| OLD | NEW |