Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1673)

Unified Diff: content/renderer/render_widget.h

Issue 1442853005: Add IPC messages to transfer compositor protos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to remove CC_EXPORT... Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698