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

Unified Diff: cc/ipc/compositor_frame_metadata.mojom

Issue 2106753004: Introduce bottom controls to CC and let it respond to scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: findbug Created 4 years, 4 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/ipc/cc_param_traits_macros.h ('k') | cc/ipc/compositor_frame_metadata_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/compositor_frame_metadata.mojom
diff --git a/cc/ipc/compositor_frame_metadata.mojom b/cc/ipc/compositor_frame_metadata.mojom
index 6f711265fa8561cefe5f218e06e9018cc28ce66a..90f9f859b5d3bd87a99b88e60ce70fa3728e8647 100644
--- a/cc/ipc/compositor_frame_metadata.mojom
+++ b/cc/ipc/compositor_frame_metadata.mojom
@@ -22,8 +22,10 @@ struct CompositorFrameMetadata {
bool root_overflow_y_hidden;
bool may_contain_video;
bool is_resourceless_software_draw_with_scroll_or_animation;
- gfx.mojom.Vector2dF location_bar_offset;
- gfx.mojom.Vector2dF location_bar_content_translation;
+ float top_controls_height;
+ float top_controls_shown_ratio;
+ float bottom_controls_height;
+ float bottom_controls_shown_ratio;
uint32 root_background_color;
Selection selection;
array<ui.mojom.LatencyInfo> latency_info;
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/compositor_frame_metadata_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698