| 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 82fbd1c45a845d4f63e3a4ec783465cb78d99c4c..10e278068907f73d4bcb16866d80f7fb066f6049 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin.h
|
| @@ -14,6 +14,7 @@
|
| #include "content/renderer/render_view_impl.h"
|
|
|
| struct BrowserPluginMsg_UpdateRect_Params;
|
| +struct BrowserPlugin_SwapInfo;
|
|
|
| namespace content {
|
| namespace browser_plugin {
|
| @@ -28,8 +29,13 @@ class BrowserPlugin : public WebKit::WebPlugin {
|
| void GuestCrashed();
|
| void UpdateURL(const GURL& url);
|
| void AdvanceFocus(bool reverse);
|
| + void BuffersSwapped(uint64 surface_handle, const BrowserPlugin_SwapInfo& info);
|
| void PostMessage(const std::string& message,
|
| const std::string& target_origin);
|
| +
|
| + void WillInitiatePaint();
|
| + void PerformBuffersSwappedACK(const BrowserPlugin_SwapInfo& info);
|
| +
|
| // WebKit::WebPlugin implementation.
|
| virtual WebKit::WebPluginContainer* container() const OVERRIDE;
|
| virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE;
|
| @@ -93,6 +99,7 @@ class BrowserPlugin : public WebKit::WebPlugin {
|
| bool guest_crashed_;
|
| long long parent_frame_;
|
| std::string src_;
|
| + std::vector< base::Callback<void(void)> > compositing_callbacks_;
|
| DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
|
| };
|
|
|
|
|