Chromium Code Reviews| Index: content/renderer/pepper/pepper_plugin_instance_impl.h |
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h |
| index e322cfb1453ff1d13f5325fa710bab8624903939..dc6f2a780ad79cee055448d85e610a4bb8ddf93d 100644 |
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
| @@ -209,8 +209,9 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
| bool HandleInputEvent(const blink::WebInputEvent& event, |
| blink::WebCursorInfo* cursor_info); |
| PP_Var GetInstanceObject(v8::Isolate* isolate); |
| - void ViewChanged(const gfx::Rect& position, |
| + void ViewChanged(const gfx::Rect& window, |
| const gfx::Rect& clip, |
| + const gfx::Rect& unobscured, |
| const std::vector<gfx::Rect>& cut_outs_rects); |
| // Handlers for composition events. |
| @@ -742,6 +743,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
| // The last state sent to the plugin. It is only valid after |
| // |sent_initial_did_change_view_| is set to true. |
| ppapi::ViewData last_sent_view_data_; |
| + // The current unobscured portion of the plugin. |
| + gfx::Rect unobscured_; |
|
piman
2015/04/01 01:02:41
nit: maybe unobscured_rect_?
unobscured_ sounds li
tommycli
2015/04/01 18:55:28
Done.
|
| // Indicates if we've ever sent a didChangeView to the plugin. This ensures we |
| // always send an initial notification, even if the position and clip are the |