Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index d062a1f2cbd45b981704a6edd0a2a80fdd8b16f3..b7ef993e1b64605e868b7012f1b7513692c0c9ed 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 forward a proto that represents serialized |
+ // compositor state. |
+ void ForwardCompositorProto(const std::vector<uint8_t>& 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<uint8_t>& proto); |
#if defined(OS_ANDROID) |
// Called when we send IME event that expects an ACK. |