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

Unified 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, 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
Index: cc/proto/client_state_update.proto
diff --git a/cc/proto/commit_earlyout_reason.proto b/cc/proto/client_state_update.proto
similarity index 51%
copy from cc/proto/commit_earlyout_reason.proto
copy to cc/proto/client_state_update.proto
index 092fbd34b437276056e0b42fbb560bb3f57c74ea..38d7074c54420f4f9f14ca6f308b354f1a52a705 100644
--- a/cc/proto/commit_earlyout_reason.proto
+++ b/cc/proto/client_state_update.proto
@@ -6,15 +6,16 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-package cc.proto;
+import "vector2d.proto";
-message CommitEarlyOutReason {
- enum Reason {
- ABORTED_COMPOSITOR_FRAME_SINK_LOST = 1;
- ABORTED_NOT_VISIBLE = 2;
- ABORTED_DEFERRED_COMMIT = 3;
- FINISHED_NO_UPDATES = 4;
- }
+package cc.proto;
- optional Reason reason = 1;
+message ScrollUpdate {
+ optional int32 layer_id = 1;
+ optional Vector2d scroll_delta = 2;
}
+
+message ClientStateUpdate {
+ repeated ScrollUpdate scroll_updates = 1;
+ optional float page_scale_delta = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698