| Index: webkit/glue/webview_delegate.h
|
| diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
|
| index bd081c4f220a544c24987bf4789ed6f20981c9a5..94fd4f53662641ac8d9a01d8bbd53f0805cb4ee0 100644
|
| --- a/webkit/glue/webview_delegate.h
|
| +++ b/webkit/glue/webview_delegate.h
|
| @@ -210,6 +210,16 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
|
| virtual void DocumentElementAvailable(WebFrame* webframe) {
|
| }
|
|
|
| + // Notifies that a new script context has been created for this frame.
|
| + // This is similar to WindowObjectCleared but only called once per frame
|
| + // context.
|
| + virtual void DidCreateScriptContext(WebFrame* webframe) {
|
| + }
|
| +
|
| + // Notifies that this frame's script context has been destroyed.
|
| + virtual void DidDestroyScriptContext(WebFrame* webframe) {
|
| + }
|
| +
|
| // PolicyDelegate ----------------------------------------------------------
|
|
|
| // This method is called to notify the delegate, and let it modify a
|
|
|