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

Unified Diff: content/renderer/npapi/webplugin_impl.h

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.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_impl.h
diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h
index cb4182764d122a1b1354b462a171c84298a51cbb..1f88aa6c2c207a8d121e54f00f8dd54ba2a4bf5e 100644
--- a/content/renderer/npapi/webplugin_impl.h
+++ b/content/renderer/npapi/webplugin_impl.h
@@ -76,8 +76,11 @@ class WebPluginImpl : public WebPlugin,
virtual void paint(
blink::WebCanvas* canvas, const blink::WebRect& paint_rect);
virtual void updateGeometry(
- const blink::WebRect& frame_rect, const blink::WebRect& clip_rect,
- const blink::WebVector<blink::WebRect>& cut_outs, bool is_visible);
+ const blink::WebRect& window_rect,
+ const blink::WebRect& clip_rect,
+ const blink::WebRect& unobscured_rect,
+ const blink::WebVector<blink::WebRect>& cut_outs_rects,
+ bool is_visible);
virtual void updateFocus(bool focused, blink::WebFocusType focus_type);
virtual void updateVisibility(bool visible);
virtual bool acceptsInputEvents();
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698