| 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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 int world_id) {} | 601 int world_id) {} |
| 602 | 602 |
| 603 // WebKit is about to release its reference to a v8 context for a frame. | 603 // WebKit is about to release its reference to a v8 context for a frame. |
| 604 virtual void WillReleaseScriptContext(WebLocalFrame*, | 604 virtual void WillReleaseScriptContext(WebLocalFrame*, |
| 605 v8::Local<v8::Context>, | 605 v8::Local<v8::Context>, |
| 606 int world_id) {} | 606 int world_id) {} |
| 607 | 607 |
| 608 // Geometry notifications ---------------------------------------------- | 608 // Geometry notifications ---------------------------------------------- |
| 609 | 609 |
| 610 // The main frame scrolled. | 610 // The main frame scrolled. |
| 611 virtual void DidChangeScrollOffset(WebLocalFrame*) {} | 611 virtual void DidChangeScrollOffset() {} |
| 612 | 612 |
| 613 // If the frame is loading an HTML document, this will be called to | 613 // If the frame is loading an HTML document, this will be called to |
| 614 // notify that the <body> will be attached soon. | 614 // notify that the <body> will be attached soon. |
| 615 virtual void WillInsertBody(WebLocalFrame*) {} | 615 virtual void WillInsertBody(WebLocalFrame*) {} |
| 616 | 616 |
| 617 // Find-in-page notifications ------------------------------------------ | 617 // Find-in-page notifications ------------------------------------------ |
| 618 | 618 |
| 619 // Notifies how many matches have been found in this frame so far, for a | 619 // Notifies how many matches have been found in this frame so far, for a |
| 620 // given identifier. |finalUpdate| specifies whether this is the last | 620 // given identifier. |finalUpdate| specifies whether this is the last |
| 621 // update for this frame. | 621 // update for this frame. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 // Overwrites the given URL to use an HTML5 embed if possible. | 766 // Overwrites the given URL to use an HTML5 embed if possible. |
| 767 // An empty URL is returned if the URL is not overriden. | 767 // An empty URL is returned if the URL is not overriden. |
| 768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 769 return WebURL(); | 769 return WebURL(); |
| 770 } | 770 } |
| 771 }; | 771 }; |
| 772 | 772 |
| 773 } // namespace blink | 773 } // namespace blink |
| 774 | 774 |
| 775 #endif | 775 #endif |
| OLD | NEW |