Index: content/browser/renderer_host/render_widget_host_delegate.h |
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h |
index a96428c7e17c92169b008823d697a51e563ad2f1..604a3ac2bac6d759052aa0f74c9d9dab254df83a 100644 |
--- a/content/browser/renderer_host/render_widget_host_delegate.h |
+++ b/content/browser/renderer_host/render_widget_host_delegate.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "build/build_config.h" |
#include "content/common/content_export.h" |
@@ -163,6 +165,11 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
#endif |
+ // Called when the widget has sent a compositor proto. This is used in Blimp |
+ // mode with the RemoteChannel compositor. |
+ virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
+ const std::vector<uint8_t>& proto) {} |
+ |
protected: |
virtual ~RenderWidgetHostDelegate() {} |
}; |