OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_COMPOSITOR_FRAME_METADATA_H_ | 5 #ifndef CC_COMPOSITOR_FRAME_METADATA_H_ |
6 #define CC_COMPOSITOR_FRAME_METADATA_H_ | 6 #define CC_COMPOSITOR_FRAME_METADATA_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "ui/gfx/size_f.h" | 9 #include "ui/gfx/size_f.h" |
10 #include "ui/gfx/vector2d_f.h" | 10 #include "ui/gfx/vector2d_f.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 class CC_EXPORT CompositorFrameMetadata | 14 class CC_EXPORT CompositorFrameMetadata |
15 { | 15 { |
16 public: | 16 public: |
17 CompositorFrameMetadata(); | 17 CompositorFrameMetadata(); |
18 ~CompositorFrameMetadata(); | 18 ~CompositorFrameMetadata(); |
(...skipping 15 matching lines...) Expand all Loading... |
34 | 34 |
35 // Used to position the Android location top bar and page content, whose | 35 // Used to position the Android location top bar and page content, whose |
36 // precise position is computed by the renderer compositor. | 36 // precise position is computed by the renderer compositor. |
37 gfx::Vector2dF location_bar_offset; | 37 gfx::Vector2dF location_bar_offset; |
38 gfx::Vector2dF location_bar_content_translation; | 38 gfx::Vector2dF location_bar_content_translation; |
39 }; | 39 }; |
40 | 40 |
41 } // namespace cc | 41 } // namespace cc |
42 | 42 |
43 #endif // CC_COMPOSITOR_FRAME_METADATA_H_ | 43 #endif // CC_COMPOSITOR_FRAME_METADATA_H_ |
OLD | NEW |