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

Side by Side Diff: cc/output/compositor_frame_metadata.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « cc/output/begin_frame_args.cc ('k') | cc/output/compositor_frame_metadata.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
27 // like positioning windowed plugins. 27 // like positioning windowed plugins.
28 gfx::Vector2dF root_scroll_offset; 28 gfx::Vector2dF root_scroll_offset;
29 float page_scale_factor; 29 float page_scale_factor;
30 30
31 // These limits can be used together with the scroll/scale fields above to 31 // These limits can be used together with the scroll/scale fields above to
32 // determine if scrolling/scaling in a particular direction is possible. 32 // determine if scrolling/scaling in a particular direction is possible.
33 gfx::SizeF scrollable_viewport_size; 33 gfx::SizeF scrollable_viewport_size;
34 gfx::SizeF root_layer_size; 34 gfx::SizeF root_layer_size;
35 float min_page_scale_factor; 35 float min_page_scale_factor;
36 float max_page_scale_factor; 36 float max_page_scale_factor;
37 bool root_overflow_x_hidden;
38 bool root_overflow_y_hidden;
37 39
38 // 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
39 // precise position is computed by the renderer compositor. 41 // precise position is computed by the renderer compositor.
40 gfx::Vector2dF location_bar_offset; 42 gfx::Vector2dF location_bar_offset;
41 gfx::Vector2dF location_bar_content_translation; 43 gfx::Vector2dF location_bar_content_translation;
42 44
43 // Provides selection region updates relative to the current viewport. If the 45 // Provides selection region updates relative to the current viewport. If the
44 // selection is empty or otherwise unused, the bound types will indicate such. 46 // selection is empty or otherwise unused, the bound types will indicate such.
45 ViewportSelectionBound selection_start; 47 ViewportSelectionBound selection_start;
46 ViewportSelectionBound selection_end; 48 ViewportSelectionBound selection_end;
47 49
48 std::vector<ui::LatencyInfo> latency_info; 50 std::vector<ui::LatencyInfo> latency_info;
49 51
50 // A set of SurfaceSequences that this frame satisfies (always in the same 52 // A set of SurfaceSequences that this frame satisfies (always in the same
51 // namespace as the current Surface). 53 // namespace as the current Surface).
52 std::vector<uint32_t> satisfies_sequences; 54 std::vector<uint32_t> satisfies_sequences;
53 }; 55 };
54 56
55 } // namespace cc 57 } // namespace cc
56 58
57 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 59 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « cc/output/begin_frame_args.cc ('k') | cc/output/compositor_frame_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698