Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index d062a1f2cbd45b981704a6edd0a2a80fdd8b16f3..c90ea7195d096db53f5dec14dc4c96ae29bc0987 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -302,6 +302,10 @@ class CONTENT_EXPORT RenderWidget |
// the new value will be sent to the browser process. |
void UpdateSelectionBounds(); |
+ // Called by the compositor to send a proto that represents serialized |
+ // compositor state. |
+ void SendCompositorProto(const std::vector<char>& proto); |
+ |
virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); |
void OnShowHostContextMenu(ContextMenuParams* params); |
@@ -447,6 +451,7 @@ class CONTENT_EXPORT RenderWidget |
const gfx::Rect& window_screen_rect); |
void OnShowImeIfNeeded(); |
void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); |
+ void OnHandleCompositorProto(const std::vector<char>& proto); |
#if defined(OS_ANDROID) |
// Called when we send IME event that expects an ACK. |