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

Unified Diff: cc/ipc/cc_param_traits.h

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 months 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/ipc/BUILD.gn ('k') | cc/ipc/cc_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits.h
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h
index 52ed04ae610f0012a66ee5d8301a076e103b05a4..67ab1453a18f31f252f867039e858321aa4f1b51 100644
--- a/cc/ipc/cc_param_traits.h
+++ b/cc/ipc/cc_param_traits.h
@@ -71,6 +71,17 @@ struct CC_IPC_EXPORT ParamTraits<cc::RenderPass> {
};
template <>
+struct CC_IPC_EXPORT ParamTraits<cc::FrameSinkId> {
+ typedef cc::FrameSinkId param_type;
+ static void GetSize(base::PickleSizer* s, const param_type& p);
+ static void Write(base::Pickle* m, const param_type& p);
+ static bool Read(const base::Pickle* m,
+ base::PickleIterator* iter,
+ param_type* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
+template <>
struct CC_IPC_EXPORT ParamTraits<cc::SurfaceId> {
typedef cc::SurfaceId param_type;
static void GetSize(base::PickleSizer* s, const param_type& p);
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/cc_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698