Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: components/plugins/renderer/webview_plugin.h

Issue 1234103002: Plugin Power Saver: Center 'Play' icon for all partially obscured plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/plugins/renderer/webview_plugin.h
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
index fdb977710d3186661b6472c841d37aa177791e17..e804fd3c3354d2aa094cf1b45fe53babf398c3cf 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|
« no previous file with comments | « components/plugins/renderer/loadable_plugin_placeholder.cc ('k') | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698