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

Unified Diff: cc/input/layer_selection_bound.h

Issue 1531413002: Add support for (de)serializing LayerSelection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serialize-layer-selection-bound
Patch Set: Addressed nits from vmpstr Created 5 years 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/input/layer_selection_bound.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/layer_selection_bound.h
diff --git a/cc/input/layer_selection_bound.h b/cc/input/layer_selection_bound.h
index fa1739930625f06b26da6776d7dd7ef9063b633c..333d1eff569873930f256d2a9f3352351293e4de 100644
--- a/cc/input/layer_selection_bound.h
+++ b/cc/input/layer_selection_bound.h
@@ -13,6 +13,7 @@
namespace cc {
namespace proto {
+class LayerSelection;
class LayerSelectionBound;
} // namespace proto
@@ -35,6 +36,11 @@ struct CC_EXPORT LayerSelectionBound {
typedef Selection<LayerSelectionBound> LayerSelection;
+CC_EXPORT void LayerSelectionToProtobuf(const LayerSelection& selection,
+ proto::LayerSelection* proto);
+CC_EXPORT void LayerSelectionFromProtobuf(LayerSelection* selection,
+ const proto::LayerSelection& proto);
+
} // namespace cc
#endif // CC_INPUT_LAYER_SELECTION_BOUND_H_
« no previous file with comments | « no previous file | cc/input/layer_selection_bound.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698