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 25 matching lines...) Expand all Loading... |
36 float max_page_scale_factor; | 36 float max_page_scale_factor; |
37 | 37 |
38 // Used to position the Android location top bar and page content, whose | 38 // Used to position the Android location top bar and page content, whose |
39 // precise position is computed by the renderer compositor. | 39 // precise position is computed by the renderer compositor. |
40 gfx::Vector2dF location_bar_offset; | 40 gfx::Vector2dF location_bar_offset; |
41 gfx::Vector2dF location_bar_content_translation; | 41 gfx::Vector2dF location_bar_content_translation; |
42 float overdraw_bottom_height; | 42 float overdraw_bottom_height; |
43 | 43 |
44 // Provides selection region updates relative to the current viewport. If the | 44 // Provides selection region updates relative to the current viewport. If the |
45 // selection is empty or otherwise unused, the bound types will indicate such. | 45 // selection is empty or otherwise unused, the bound types will indicate such. |
46 ViewportSelectionBound selection_anchor; | 46 ViewportSelectionBound selection_start; |
47 ViewportSelectionBound selection_focus; | 47 ViewportSelectionBound selection_end; |
48 | 48 |
49 std::vector<ui::LatencyInfo> latency_info; | 49 std::vector<ui::LatencyInfo> latency_info; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace cc | 52 } // namespace cc |
53 | 53 |
54 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 54 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
OLD | NEW |