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

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

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
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 329a10c795161f273e8616ed0e89cf4ec4668c44..9d2ac91d5956fb458eb892adb7650ec5dd9046f5 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -175,7 +175,7 @@ void WebViewPlugin::updateGeometry(const WebRect& window_rect,
}
if (delegate_)
- delegate_->OnUnobscuredSizeUpdate(gfx::Rect(unobscured_rect).size());
+ delegate_->OnUnobscuredRectUpdate(gfx::Rect(unobscured_rect));
}
void WebViewPlugin::updateFocus(bool focused, blink::WebFocusType focus_type) {
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698