| Index: sky/engine/public/web/WebFrameClient.h
|
| diff --git a/sky/engine/public/web/WebFrameClient.h b/sky/engine/public/web/WebFrameClient.h
|
| index 3409dd25e59fc3ba7c771e7c7f56bff479096787..d030de14b4a6fa5e9e918345f617e995364b0205 100644
|
| --- a/sky/engine/public/web/WebFrameClient.h
|
| +++ b/sky/engine/public/web/WebFrameClient.h
|
| @@ -68,11 +68,13 @@ public:
|
| // until frameDetached() is called on it.
|
| // Note: If you override this, you should almost certainly be overriding
|
| // frameDetached().
|
| - virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& frameName) { return 0; }
|
| + virtual uint32_t createChildFrame(const WebURL& url) { return static_cast<uint32_t>(-1); }
|
|
|
| - virtual void createChildView(const WebURL& url) { }
|
| + // Initalize parameters for the given child frame.
|
| + virtual void initializeChildFrame(uint32_t frame_id, const blink::WebRect& bounds) { }
|
|
|
| // This frame has been detached from the view, but has not been closed yet.
|
| + // TODO(mpcomplete): reuse these.
|
| virtual void frameDetached(WebFrame*) { }
|
|
|
| // This frame has become focused..
|
| @@ -242,9 +244,6 @@ public:
|
| // process. See http://crbug.com/339659.
|
| virtual void forwardInputEvent(const WebInputEvent*) { }
|
|
|
| - // Send initial drawing parameters to a child frame that is being rendered out of process.
|
| - virtual void initializeChildFrame(const WebRect& frameRect, float scaleFactor) { }
|
| -
|
| protected:
|
| virtual ~WebFrameClient() { }
|
| };
|
|
|