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

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

Issue 2194833002: Overscroll and Elasticity for views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-RouteThroughInputHandler
Patch Set: Restore functionality and fix bugs \o/ 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/layers/layer_unittest.cc ('k') | cc/proto/layer.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import "vector2d.proto"; 7 import "vector2d.proto";
8 import "vector2df.proto"; 8 import "vector2df.proto";
9 import "scroll_offset.proto";
9 10
10 option optimize_for = LITE_RUNTIME; 11 option optimize_for = LITE_RUNTIME;
11 12
12 package cc.proto; 13 package cc.proto;
13 14
14 message ScrollUpdateInfo { 15 message ScrollUpdateInfo {
15 optional int64 layer_id = 1; 16 optional int64 layer_id = 1;
16 optional Vector2d scroll_delta = 2; 17 optional Vector2d scroll_delta = 2;
18 optional ScrollOffset overscroll = 3;
17 } 19 }
18 20
19 message ScrollAndScaleSet { 21 message ScrollAndScaleSet {
20 repeated ScrollUpdateInfo scrolls = 1; 22 repeated ScrollUpdateInfo scrolls = 1;
21 optional float page_scale_delta = 2; 23 optional float page_scale_delta = 2;
22 optional Vector2dF elastic_overscroll_delta = 3; 24 optional Vector2dF elastic_overscroll_delta = 3;
23 optional float top_controls_delta = 4; 25 optional float top_controls_delta = 4;
24 26
25 // TODO(khushalsagar): Do we need to send swap promises? 27 // TODO(khushalsagar): Do we need to send swap promises?
26 // See crbug/576999. 28 // See crbug/576999.
(...skipping 14 matching lines...) Expand all
41 optional bool on_critical_path = 5; 43 optional bool on_critical_path = 5;
42 } 44 }
43 45
44 message BeginMainFrameAndCommitState { 46 message BeginMainFrameAndCommitState {
45 optional int64 begin_frame_id = 1; 47 optional int64 begin_frame_id = 1;
46 optional BeginFrameArgs begin_frame_args = 2; 48 optional BeginFrameArgs begin_frame_args = 2;
47 optional ScrollAndScaleSet scroll_info = 3; 49 optional ScrollAndScaleSet scroll_info = 3;
48 optional int64 memory_allocation_limit_bytes = 4; 50 optional int64 memory_allocation_limit_bytes = 4;
49 optional bool evicted_ui_resources = 5; 51 optional bool evicted_ui_resources = 5;
50 } 52 }
OLDNEW
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/proto/layer.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698