| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 // use for segregated histograms. | 568 // use for segregated histograms. |
| 569 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} | 569 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} |
| 570 | 570 |
| 571 // Script notifications ------------------------------------------------ | 571 // Script notifications ------------------------------------------------ |
| 572 | 572 |
| 573 // Notifies that a new script context has been created for this frame. | 573 // Notifies that a new script context has been created for this frame. |
| 574 // This is similar to didClearWindowObject but only called once per | 574 // This is similar to didClearWindowObject but only called once per |
| 575 // frame context. | 575 // frame context. |
| 576 virtual void didCreateScriptContext(WebLocalFrame*, | 576 virtual void didCreateScriptContext(WebLocalFrame*, |
| 577 v8::Local<v8::Context>, | 577 v8::Local<v8::Context>, |
| 578 int extensionGroup, | |
| 579 int worldId) {} | 578 int worldId) {} |
| 580 | 579 |
| 581 // WebKit is about to release its reference to a v8 context for a frame. | 580 // WebKit is about to release its reference to a v8 context for a frame. |
| 582 virtual void willReleaseScriptContext(WebLocalFrame*, | 581 virtual void willReleaseScriptContext(WebLocalFrame*, |
| 583 v8::Local<v8::Context>, | 582 v8::Local<v8::Context>, |
| 584 int worldId) {} | 583 int worldId) {} |
| 585 | 584 |
| 586 // Geometry notifications ---------------------------------------------- | 585 // Geometry notifications ---------------------------------------------- |
| 587 | 586 |
| 588 // The main frame scrolled. | 587 // The main frame scrolled. |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 // Overwrites the given URL to use an HTML5 embed if possible. | 755 // Overwrites the given URL to use an HTML5 embed if possible. |
| 757 // An empty URL is returned if the URL is not overriden. | 756 // An empty URL is returned if the URL is not overriden. |
| 758 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 759 return WebURL(); | 758 return WebURL(); |
| 760 } | 759 } |
| 761 }; | 760 }; |
| 762 | 761 |
| 763 } // namespace blink | 762 } // namespace blink |
| 764 | 763 |
| 765 #endif | 764 #endif |
| OLD | NEW |