diff options
Diffstat (limited to 'components/plugins')
-rw-r--r-- | components/plugins/renderer/webview_plugin.cc | 7 | ||||
-rw-r--r-- | components/plugins/renderer/webview_plugin.h | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc index a9df13c..ce4b03e 100644 --- a/components/plugins/renderer/webview_plugin.cc +++ b/components/plugins/renderer/webview_plugin.cc @@ -28,6 +28,7 @@ using blink::WebDragOperationsMask; using blink::WebFrame; using blink::WebImage; using blink::WebInputEvent; +using blink::WebLocalFrame; using blink::WebMouseEvent; using blink::WebPlugin; using blink::WebPluginContainer; @@ -210,7 +211,7 @@ void WebViewPlugin::setToolTipText(const WebString& text, container_->element().setAttribute("title", text); } -void WebViewPlugin::startDragging(WebFrame*, +void WebViewPlugin::startDragging(WebLocalFrame*, const WebDragData&, WebDragOperationsMask, const WebImage&, @@ -228,12 +229,12 @@ void WebViewPlugin::didChangeCursor(const WebCursorInfo& cursor) { current_cursor_ = cursor; } -void WebViewPlugin::didClearWindowObject(WebFrame* frame, int world_id) { +void WebViewPlugin::didClearWindowObject(WebLocalFrame* frame, int world_id) { if (delegate_) delegate_->BindWebFrame(frame); } -void WebViewPlugin::didReceiveResponse(WebFrame* frame, +void WebViewPlugin::didReceiveResponse(WebLocalFrame* frame, unsigned identifier, const WebURLResponse& response) { WebFrameClient::didReceiveResponse(frame, identifier, response); diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h index 4b87205..af352ec 100644 --- a/components/plugins/renderer/webview_plugin.h +++ b/components/plugins/renderer/webview_plugin.h @@ -110,7 +110,7 @@ class WebViewPlugin : public blink::WebPlugin, virtual void setToolTipText(const blink::WebString&, blink::WebTextDirection); - virtual void startDragging(blink::WebFrame* frame, + virtual void startDragging(blink::WebLocalFrame* frame, const blink::WebDragData& drag_data, blink::WebDragOperationsMask mask, const blink::WebImage& image, @@ -121,13 +121,13 @@ class WebViewPlugin : public blink::WebPlugin, virtual void didChangeCursor(const blink::WebCursorInfo& cursor); // WebFrameClient methods: - virtual void didClearWindowObject(blink::WebFrame* frame, int world_id); + virtual void didClearWindowObject(blink::WebLocalFrame* frame, int world_id); // This method is defined in WebPlugin as well as in WebFrameClient, but with // different parameters. We only care about implementing the WebPlugin // version, so we implement this method and call the default in WebFrameClient // (which does nothing) to correctly overload it. - virtual void didReceiveResponse(blink::WebFrame* frame, + virtual void didReceiveResponse(blink::WebLocalFrame* frame, unsigned identifier, const blink::WebURLResponse& response); |