| Index: components/plugins/renderer/webview_plugin.h
|
| diff --git a/chrome/renderer/plugins/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
|
| similarity index 91%
|
| rename from chrome/renderer/plugins/webview_plugin.h
|
| rename to components/plugins/renderer/webview_plugin.h
|
| index 791539ce1a1c11ea1fa73c0399fd6e1a2f559429..b79d24bf7cfe90862f790bc6faea046aabe985b4 100644
|
| --- a/chrome/renderer/plugins/webview_plugin.h
|
| +++ b/components/plugins/renderer/webview_plugin.h
|
| @@ -53,11 +53,10 @@ class WebViewPlugin : public WebKit::WebPlugin,
|
| // Convenience method to set up a new WebViewPlugin using |preferences|
|
| // and displaying |html_data|. |url| should be a (fake) chrome:// URL; it is
|
| // only used for navigation and never actually resolved.
|
| - static WebViewPlugin* Create(
|
| - Delegate* delegate,
|
| - const WebPreferences& preferences,
|
| - const std::string& html_data,
|
| - const GURL& url);
|
| + static WebViewPlugin* Create(Delegate* delegate,
|
| + const WebPreferences& preferences,
|
| + const std::string& html_data,
|
| + const GURL& url);
|
|
|
| WebKit::WebView* web_view() { return web_view_; }
|
|
|
| @@ -82,8 +81,10 @@ class WebViewPlugin : public WebKit::WebPlugin,
|
|
|
| // Coordinates are relative to the containing window.
|
| virtual void updateGeometry(
|
| - const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect,
|
| - const WebKit::WebVector<WebKit::WebRect>& cut_out_rects, bool is_visible);
|
| + const WebKit::WebRect& frame_rect,
|
| + const WebKit::WebRect& clip_rect,
|
| + const WebKit::WebVector<WebKit::WebRect>& cut_out_rects,
|
| + bool is_visible);
|
|
|
| virtual void updateFocus(bool) {}
|
| virtual void updateVisibility(bool) {}
|
| @@ -98,8 +99,8 @@ class WebViewPlugin : public WebKit::WebPlugin,
|
| virtual void didFailLoading(const WebKit::WebURLError& error);
|
|
|
| // Called in response to WebPluginContainer::loadFrameRequest
|
| - virtual void didFinishLoadingFrameRequest(
|
| - const WebKit::WebURL& url, void* notifyData) {}
|
| + virtual void didFinishLoadingFrameRequest(const WebKit::WebURL& url,
|
| + void* notifyData) {}
|
| virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url,
|
| void* notify_data,
|
| const WebKit::WebURLError& error) {}
|
|
|