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

Side by Side Diff: cc/proto/synced_property.proto

Issue 2493853002: cc/blimp: Proto Cleanup. (Closed)
Patch Set: Rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « cc/proto/renderer_settings.proto ('k') | cc/proto/synced_property_conversions.h » ('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 syntax = "proto2";
6
7 import "scroll_offset.proto";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package cc.proto;
12
13 // Since plumbing SyncedScrollOffset is only used by PropertyTree, and can only
14 // travel from main thread to impl thread one way, the From/To protobuf function
15 // for SyncedProperty only needs to care the current base, because main thread
16 // does not have pending/active tree or scroll offset deltas.
17 message ScrollOffsetGroup {
18 optional ScrollOffset pending_base = 1;
19 optional ScrollOffset pending_delta = 2;
20 optional ScrollOffset active_base = 3;
21 optional ScrollOffset active_delta = 4;
22 optional ScrollOffset sent_delta = 5;
23 }
24
25 message SyncedProperty {
26 optional bool clobber_active_value = 1;
27
28 optional ScrollOffsetGroup scroll_offset_group = 1001;
29 }
OLDNEW
« no previous file with comments | « cc/proto/renderer_settings.proto ('k') | cc/proto/synced_property_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698