| Index: webkit/glue/plugins/webplugin_delegate_impl.h
|
| ===================================================================
|
| --- webkit/glue/plugins/webplugin_delegate_impl.h (revision 54851)
|
| +++ webkit/glue/plugins/webplugin_delegate_impl.h (working copy)
|
| @@ -27,6 +27,8 @@
|
| #endif
|
|
|
| #if defined(USE_X11)
|
| +#include "app/x11_util.h"
|
| +
|
| typedef struct _GdkDrawable GdkPixmap;
|
| #endif
|
|
|
| @@ -181,6 +183,12 @@
|
| void set_windowed_handle(gfx::PluginWindowHandle handle);
|
| #endif
|
|
|
| +#if defined(USE_X11)
|
| + void SetWindowlessShmPixmap(XID shm_pixmap) {
|
| + windowless_shm_pixmap_ = shm_pixmap;
|
| + }
|
| +#endif
|
| +
|
| private:
|
| friend class DeleteTask<WebPluginDelegateImpl>;
|
| friend class webkit_glue::WebPluginDelegate;
|
| @@ -292,6 +300,9 @@
|
| #endif // OS_WIN
|
|
|
| #if defined(USE_X11)
|
| + // The SHM pixmap for a windowless plugin.
|
| + XID windowless_shm_pixmap_;
|
| +
|
| // The pixmap we're drawing into, for a windowless plugin.
|
| GdkPixmap* pixmap_;
|
| double first_event_time_;
|
|
|