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

Unified Diff: cc/proto/begin_main_frame_and_commit_state.proto

Issue 2453553003: Disable overlay scrollbars in Blink when hidden by the compositor. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_host_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/begin_main_frame_and_commit_state.proto
diff --git a/cc/proto/begin_main_frame_and_commit_state.proto b/cc/proto/begin_main_frame_and_commit_state.proto
index c90bb6a65901c7d9c93009d3e9829575a2f5ea38..ebb94e50d85bcdac4e74f8eca2ca83b5fc4dba67 100644
--- a/cc/proto/begin_main_frame_and_commit_state.proto
+++ b/cc/proto/begin_main_frame_and_commit_state.proto
@@ -16,11 +16,17 @@ message ScrollUpdateInfo {
optional Vector2d scroll_delta = 2;
}
+message ScrollbarsUpdateInfo {
+ optional int64 layer_id = 1;
+ optional bool hidden = 2;
+}
+
message ScrollAndScaleSet {
repeated ScrollUpdateInfo scrolls = 1;
optional float page_scale_delta = 2;
optional Vector2dF elastic_overscroll_delta = 3;
optional float top_controls_delta = 4;
+ repeated ScrollbarsUpdateInfo scrollbars = 5;
// TODO(khushalsagar): Do we need to send swap promises?
// See crbug/576999.
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698