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

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

Issue 2445093002: cc/blimp: Add synchronization for scroll/scale state. (Closed)
Patch Set: Addressed comments 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 import "vector2d.proto";
10
9 package cc.proto; 11 package cc.proto;
10 12
11 message CommitEarlyOutReason { 13 message ScrollUpdate {
12 enum Reason { 14 optional int32 layer_id = 1;
13 ABORTED_COMPOSITOR_FRAME_SINK_LOST = 1; 15 optional Vector2d scroll_delta = 2;
14 ABORTED_NOT_VISIBLE = 2; 16 }
15 ABORTED_DEFERRED_COMMIT = 3;
16 FINISHED_NO_UPDATES = 4;
17 }
18 17
19 optional Reason reason = 1; 18 message ClientStateUpdate {
20 } 19 repeated ScrollUpdate scroll_updates = 1;
20 optional float page_scale_delta = 2;
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698