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

Unified Diff: cc/output/compositor_frame_metadata.h

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: adjust documentations Created 4 years, 5 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/struct_traits_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index c2e13fe6e3fc91b8ec7d64ebfa180376b54143f7..ee3acd3affce8c2114f20fa90aef34b0b1f5e54c 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -49,8 +49,13 @@ class CC_EXPORT CompositorFrameMetadata {
// Used to position the Android location top bar and page content, whose
// precise position is computed by the renderer compositor.
- gfx::Vector2dF location_bar_offset;
- gfx::Vector2dF location_bar_content_translation;
+ gfx::Vector2dF top_bar_translate;
aelias_OOO_until_Jul13 2016/07/06 22:36:58 I agree we need two values, but how about standard
+ gfx::Vector2dF top_bar_shown;
+
+ // Used to position Android bottom bar, whose position is computed by the
+ // renderer compositor.
+ gfx::Vector2dF bottom_bar_translate;
+ gfx::Vector2dF bottom_bar_shown;
// This color is usually obtained from the background color of the <body>
// element. It can be used for filling in gutter areas around the frame when
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698