Chromium Code Reviews| 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_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
| 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 gfx::Vector2dF root_scroll_offset; | 27 gfx::Vector2dF root_scroll_offset; |
| 28 float page_scale_factor; | 28 float page_scale_factor; |
| 29 | 29 |
| 30 // These limits can be used together with the scroll/scale fields above to | 30 // These limits can be used together with the scroll/scale fields above to |
| 31 // determine if scrolling/scaling in a particular direction is possible. | 31 // determine if scrolling/scaling in a particular direction is possible. |
| 32 gfx::SizeF viewport_size; | 32 gfx::SizeF viewport_size; |
| 33 gfx::SizeF root_layer_size; | 33 gfx::SizeF root_layer_size; |
| 34 float min_page_scale_factor; | 34 float min_page_scale_factor; |
| 35 float max_page_scale_factor; | 35 float max_page_scale_factor; |
| 36 | 36 |
| 37 // Sequence number of the content that this frame was rendered for. | |
| 38 int source_frame_number; | |
|
piman
2014/05/20 19:54:05
This has no meaning in the parent compositor (brow
mkosiba (inactive)
2014/05/22 17:40:24
Done.
| |
| 39 | |
| 37 // Used to position the Android location top bar and page content, whose | 40 // Used to position the Android location top bar and page content, whose |
| 38 // precise position is computed by the renderer compositor. | 41 // precise position is computed by the renderer compositor. |
| 39 gfx::Vector2dF location_bar_offset; | 42 gfx::Vector2dF location_bar_offset; |
| 40 gfx::Vector2dF location_bar_content_translation; | 43 gfx::Vector2dF location_bar_content_translation; |
| 41 float overdraw_bottom_height; | 44 float overdraw_bottom_height; |
| 42 | 45 |
| 43 std::vector<ui::LatencyInfo> latency_info; | 46 std::vector<ui::LatencyInfo> latency_info; |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 } // namespace cc | 49 } // namespace cc |
| 47 | 50 |
| 48 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 51 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
| OLD | NEW |