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

Unified Diff: cc/proto/cc_conversions.h

Issue 2437923002: cc: Change ClipNode::applies_local_clip to a clip_type enum (Closed)
Patch Set: Fix Windows build Created 4 years, 2 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 | « no previous file | cc/proto/cc_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/cc_conversions.h
diff --git a/cc/proto/cc_conversions.h b/cc/proto/cc_conversions.h
index 78c697b88960a0d93806fde8a26e022731a9ba41..a52124c5009fe269e7c2fe098cc3b9345cd15160 100644
--- a/cc/proto/cc_conversions.h
+++ b/cc/proto/cc_conversions.h
@@ -8,6 +8,8 @@
#include "cc/base/cc_export.h"
#include "cc/input/scrollbar.h"
#include "cc/proto/layer.pb.h"
+#include "cc/proto/property_tree.pb.h"
+#include "cc/trees/clip_node.h"
namespace cc {
class Region;
@@ -28,6 +30,11 @@ CC_EXPORT ScrollbarOrientation ScrollbarOrientationFromProto(
const proto::SolidColorScrollbarLayerProperties::ScrollbarOrientation&
proto);
+proto::ClipNodeData::ClipType ClipNodeTypeToProto(
+ const ClipNode::ClipType& clip_type);
+ClipNode::ClipType ClipNodeTypeFromProto(
+ const proto::ClipNodeData::ClipType& clip_type);
+
} // namespace cc
#endif // CC_PROTO_CC_CONVERSIONS_H_
« no previous file with comments | « no previous file | cc/proto/cc_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698