summaryrefslogtreecommitdiffstats
path: root/components/plugins/renderer/webview_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/plugins/renderer/webview_plugin.h')
-rw-r--r--components/plugins/renderer/webview_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
index fdb9777..e804fd3 100644
--- a/components/plugins/renderer/webview_plugin.h
+++ b/components/plugins/renderer/webview_plugin.h
@@ -56,8 +56,8 @@ class WebViewPlugin : public blink::WebPlugin,
// loaded but idle. Doesn't work for blocked plugins, which is not loaded.
virtual v8::Local<v8::Object> GetV8ScriptableObject(v8::Isolate*) const = 0;
- // Called when the unobscured size of the plugin is updated.
- virtual void OnUnobscuredSizeUpdate(const gfx::Size& unobscured_size) {}
+ // Called when the unobscured rect of the plugin is updated.
+ virtual void OnUnobscuredRectUpdate(const gfx::Rect& unobscured_rect) {}
};
// Convenience method to set up a new WebViewPlugin using |preferences|