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

Unified Diff: cc/compositor_frame_metadata.h

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing CC_EXPORT...learn to run try jobs manually Created 7 years, 11 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/cc_tests.gyp ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/compositor_frame_metadata.h
diff --git a/cc/compositor_frame_metadata.h b/cc/compositor_frame_metadata.h
index 92a48ffba2c4aaff0a7955bd41ddf99e20e44b1c..5d9a9056a1e61298a1bd2b3d088cc52ff61c4bc4 100644
--- a/cc/compositor_frame_metadata.h
+++ b/cc/compositor_frame_metadata.h
@@ -29,9 +29,10 @@ class CC_EXPORT CompositorFrameMetadata
float min_page_scale_factor;
float max_page_scale_factor;
- // Used to position the Android location top bar, whose precise
- // position is computed by the renderer compositor.
+ // 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;
};
} // namespace cc
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698