Index: content/renderer/pepper/pepper_graphics_2d_host.h |
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.h b/content/renderer/pepper/pepper_graphics_2d_host.h |
index 3c1abb09b8cfbc7e5cce33709e95892cfd6e4d17..07272e08e7f6c42cc8e781b4c09d5a4d6684eee2 100644 |
--- a/content/renderer/pepper/pepper_graphics_2d_host.h |
+++ b/content/renderer/pepper/pepper_graphics_2d_host.h |
@@ -16,6 +16,8 @@ |
#include "ppapi/host/resource_host.h" |
#include "third_party/WebKit/public/platform/WebCanvas.h" |
+namespace cc { class TextureMailbox; } |
+ |
namespace gfx { |
class Point; |
class Rect; |
@@ -57,6 +59,8 @@ class CONTENT_EXPORT PepperGraphics2DHost |
const gfx::Rect& plugin_rect, |
const gfx::Rect& paint_rect); |
+ bool PrepareTextureMailbox(cc::TextureMailbox* mailbox); |
+ |
// Notifications about the view's progress painting. See PluginInstance. |
// These messages are used to send Flush callbacks to the plugin. |
void ViewWillInitiatePaint(); |
@@ -169,6 +173,8 @@ class CONTENT_EXPORT PepperGraphics2DHost |
bool is_running_in_process_; |
+ bool texture_mailbox_modified_; |
+ |
friend class PepperGraphics2DHostTest; |
DISALLOW_COPY_AND_ASSIGN(PepperGraphics2DHost); |
}; |