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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 1023783008: Migrate plugins to support new 'unobscured' rect interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 'git cl format' Created 5 years, 9 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 | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/npapi/webplugin_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 38d4bff33ebfc23b5bfb916e833d42ab16750b66..0bba2c7e5f81b7c8e9db44f51e93db705e4ecb05 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -425,11 +425,11 @@ bool BrowserPlugin::ShouldForwardToBrowserPlugin(
return false;
}
-void BrowserPlugin::updateGeometry(
- const WebRect& window_rect,
- const WebRect& clip_rect,
- const WebVector<WebRect>& cut_outs_rects,
- bool is_visible) {
+void BrowserPlugin::updateGeometry(const WebRect& window_rect,
+ const WebRect& clip_rect,
+ const WebRect& unobscured_rect,
+ const WebVector<WebRect>& cut_outs_rects,
+ bool is_visible) {
int old_width = view_rect_.width();
int old_height = view_rect_.height();
view_rect_ = window_rect;
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/npapi/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698