Index: content/public/browser/browser_plugin_guest_delegate.h |
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h |
index 4dd1a4cd732925d2cb2f18a6f4e31aa032101b5b..5dda66af6ec7a33451af314397e7db9d01cc9e55 100644 |
--- a/content/public/browser/browser_plugin_guest_delegate.h |
+++ b/content/public/browser/browser_plugin_guest_delegate.h |
@@ -14,6 +14,11 @@ namespace base { |
class DictionaryValue; |
} // namespace base |
+namespace cc { |
+struct SurfaceId; |
+struct SurfaceSequence; |
+} // namespace cc |
+ |
namespace gfx { |
class Size; |
} // namespace gfx |
@@ -92,6 +97,11 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate { |
// fromt he guest renderer is incorrect in situations where BrowserPlugin is |
// subject to CSS transforms. |
virtual void SetContextMenuPosition(const gfx::Point& position) {} |
+ |
+ virtual bool SetChildFrameSurface(const cc::SurfaceId& surface_id, |
+ const gfx::Size& frame_size, |
+ float scale_factor, |
+ const cc::SurfaceSequence& sequence); |
}; |
} // namespace content |