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

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: Forgot to add the changes to cc_messages.h Created 8 years 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
Index: cc/compositor_frame_metadata.h
diff --git a/cc/compositor_frame_metadata.h b/cc/compositor_frame_metadata.h
index 92a48ffba2c4aaff0a7955bd41ddf99e20e44b1c..2317fbc288c94222d706885f19d3c3e7316dd36a 100644
--- a/cc/compositor_frame_metadata.h
+++ b/cc/compositor_frame_metadata.h
@@ -6,6 +6,7 @@
#define CC_COMPOSITOR_FRAME_METADATA_H_
#include "cc/cc_export.h"
+#include "ui/gfx/point_f.h"
#include "ui/gfx/size_f.h"
#include "ui/gfx/vector2d_f.h"
@@ -31,7 +32,8 @@ class CC_EXPORT CompositorFrameMetadata
// Used to position the Android location top bar, whose precise
// position is computed by the renderer compositor.
- gfx::Vector2dF location_bar_offset;
+ gfx::PointF location_bar_offset;
aelias_OOO_until_Jul13 2012/12/19 08:31:18 We've decided on the convention that offsets shoul
Ted C 2012/12/19 21:34:17 Done.
+ gfx::PointF content_offset;
};
} // namespace cc
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layer_tree_host_impl.h » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698