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

Unified Diff: content/shell/renderer/test_runner/test_plugin.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/pepper/pepper_webplugin_impl.cc ('k') | content/shell/renderer/test_runner/test_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_plugin.h
diff --git a/content/shell/renderer/test_runner/test_plugin.h b/content/shell/renderer/test_runner/test_plugin.h
index f55b693d851986961754de6d834f1e90b7885b53..446739e35b9dd549df78c7f36837fb3953317950 100644
--- a/content/shell/renderer/test_runner/test_plugin.h
+++ b/content/shell/renderer/test_runner/test_plugin.h
@@ -65,8 +65,9 @@ class TestPlugin : public blink::WebPlugin, public cc::TextureLayerClient {
virtual bool canProcessDrag() const;
virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) {}
virtual void updateGeometry(
- const blink::WebRect& frame_rect,
+ 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 focus, blink::WebFocusType focus_type) {}
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.cc ('k') | content/shell/renderer/test_runner/test_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698