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

Side by Side Diff: cc/proto/synced_property_conversions.h

Issue 1736073002: cc: Move SyncedScrollOffset to scroll tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and add comment Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « cc/proto/synced_property.proto ('k') | cc/proto/synced_property_conversions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_PROTO_SYNCED_PROPERTY_CONVERSIONS_H_
6 #define CC_PROTO_SYNCED_PROPERTY_CONVERSIONS_H_
7
8 #include "cc/base/cc_export.h"
9 #include "cc/trees/property_tree.h"
10
11 namespace cc {
12
13 namespace proto {
14 class SyncedProperty;
15 } // namespace proto
16
17 CC_EXPORT void SyncedScrollOffsetToProto(
18 const SyncedScrollOffset& synced_scroll_offset,
19 proto::SyncedProperty* proto);
20 CC_EXPORT void ProtoToSyncedScrollOffset(
21 const proto::SyncedProperty& proto,
22 SyncedScrollOffset* synced_scroll_offset);
23
24 } // namespace cc
25
26 #endif // CC_PROTO_SYNCED_PROPERTY_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « cc/proto/synced_property.proto ('k') | cc/proto/synced_property_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698