diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 05:06:47 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 05:06:47 +0000 |
commit | c5041c32539b375c15e85c824eb054891453521d (patch) | |
tree | 117fae2c96bc6b750f38a361d5832c277c843f14 /components/plugins | |
parent | ca93f9319e6c778f8b8d4b4a9c42f1f66aa0422b (diff) | |
download | chromium_src-c5041c32539b375c15e85c824eb054891453521d.zip chromium_src-c5041c32539b375c15e85c824eb054891453521d.tar.gz chromium_src-c5041c32539b375c15e85c824eb054891453521d.tar.bz2 |
Convert Chrome usages of WebFrame to WebLocalFrame.
This is a mechanical change to followup on Blink and content changes to
change parameter types to WebLocalFrame where appropriate.
BUG=346764
Review URL: https://codereview.chromium.org/226093007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262320 0039d316-1c4b-4281-b951-d872f2087c98
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); |