Chromium Code Reviews| Index: content/renderer/browser_plugin/browser_plugin.h |
| diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h |
| index 210774b25f4831e1525a63833aedbed87601209c..1d20c994c087cae9b53809f0e44a1448cf8b7e34 100644 |
| --- a/content/renderer/browser_plugin/browser_plugin.h |
| +++ b/content/renderer/browser_plugin/browser_plugin.h |
| @@ -12,12 +12,21 @@ |
| #include "content/renderer/browser_plugin/browser_plugin_backing_store.h" |
| #include "content/renderer/browser_plugin/browser_plugin_bindings.h" |
| #include "content/renderer/render_view_impl.h" |
| +#include "ipc/ipc_forwarding_message_filter.h" |
| struct BrowserPluginMsg_UpdateRect_Params; |
| +struct BrowserPlugin_SwapInfo; |
| + |
| +namespace gfx { |
| + |
| +class Size; |
| + |
| +} |
|
scshunt
2012/08/12 01:42:45
Is the style to have spaces around the inner class
scshunt
2012/08/17 17:30:28
Done.
|
| namespace content { |
| class BrowserPluginManager; |
| +class BrowserPluginTextureProvider; |
| class MockBrowserPlugin; |
| class CONTENT_EXPORT BrowserPlugin : |
| @@ -44,6 +53,14 @@ class CONTENT_EXPORT BrowserPlugin : |
| // Tells the BrowserPlugin to advance the focus to the next (or previous) |
| // element. |
| void AdvanceFocus(bool reverse); |
| + void BuffersSwapped( |
| + uint64 surface_handle, |
| + const BrowserPlugin_SwapInfo& info); |
| + void SurfaceResize(const gfx::Size& size); |
| + void PostMessage(const std::string& message, |
| + const std::string& target_origin); |
| + |
| + void TextureProviderIsReady(); |
| // Indicates whether there are any Javascript listeners attached to a |
| // provided event_name. |
| @@ -138,6 +155,8 @@ class CONTENT_EXPORT BrowserPlugin : |
| bool resize_pending_; |
| long long parent_frame_; |
| std::string src_; |
| + BrowserPluginTextureProvider* provider_; |
| + bool ignore_input_; |
| typedef std::vector<v8::Persistent<v8::Function> > EventListeners; |
| typedef std::map<std::string, EventListeners> EventListenerMap; |
| EventListenerMap event_listener_map_; |