| Index: third_party/WebKit/public/web/WebFrameClient.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
|
| index e0578dc5fb4b828bc759731c50267e2ef041a896..eef98c4e544d954552452e847f44d1aae17a3863 100644
|
| --- a/third_party/WebKit/public/web/WebFrameClient.h
|
| +++ b/third_party/WebKit/public/web/WebFrameClient.h
|
| @@ -297,8 +297,13 @@ public:
|
| virtual void didClearWindowObject(WebLocalFrame* frame) { }
|
|
|
| // The document element has been created.
|
| + // This method may not invalidate the frame, nor execute JavaScript code.
|
| virtual void didCreateDocumentElement(WebLocalFrame*) { }
|
|
|
| + // Like |didCreateDocumentElement|, except this method may run JavaScript
|
| + // code (and possibly invalidate the frame).
|
| + virtual void runScriptsAtDocumentElementAvailable(WebLocalFrame*) { }
|
| +
|
| // The page title is available.
|
| virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, WebTextDirection direction) { }
|
|
|
| @@ -306,8 +311,13 @@ public:
|
| virtual void didChangeIcon(WebLocalFrame*, WebIconURL::Type) { }
|
|
|
| // The frame's document finished loading.
|
| + // This method may not execute JavaScript code.
|
| virtual void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) { }
|
|
|
| + // Like |didFinishDocumentLoad|, except this method may run JavaScript
|
| + // code (and possibly invalidate the frame).
|
| + virtual void runScriptsAtDocumentReady(WebLocalFrame*) { }
|
| +
|
| // The 'load' event was dispatched.
|
| virtual void didHandleOnloadEvents(WebLocalFrame*) { }
|
|
|
|
|