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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.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 | « cc/trees/remote_proto_channel.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « cc/trees/remote_proto_channel.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698