Index: webkit/plugins/ppapi/ppapi_plugin_instance.h |
=================================================================== |
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 95420) |
+++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy) |
@@ -72,6 +72,7 @@ |
class PPB_Graphics2D_Impl; |
class PPB_Graphics3D_Impl; |
class PPB_ImageData_Impl; |
+class PPB_ScrollbarGroup_Impl; |
class PPB_Surface3D_Impl; |
class PPB_URLLoader_Impl; |
class PPB_URLRequestInfo_Impl; |
@@ -199,6 +200,8 @@ |
int identifier); |
void SelectFindResult(bool forward); |
void StopFind(); |
+ void WillStartLiveResize(); |
+ void WillEndLiveResize(); |
bool SupportsPrintInterface(); |
int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); |
@@ -246,6 +249,9 @@ |
return fullscreen_container_; |
} |
+ // Callback to associate a full-frame instance's scrollgroup object. |
+ void SetScrollbarGroup(PPB_ScrollbarGroup_Impl* scrollbar_group); |
+ |
// FunctionGroupBase overrides. |
virtual ::ppapi::thunk::PPB_Instance_FunctionAPI* AsPPB_Instance_FunctionAPI() |
OVERRIDE; |
@@ -488,6 +494,11 @@ |
uint32_t input_event_mask_; |
uint32_t filtered_input_event_mask_; |
+ // For full-page plugin, if it has a ScrollbarGroup object, we keep a |
+ // non-owning pointer to it so we can send WebKit page-resize and mouse move |
+ // callbacks. This is needed on Lion for overlay scrollbars. |
+ PPB_ScrollbarGroup_Impl* scrollbar_group_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
}; |