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

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

Issue 100443006: Remove some LatencyInfo merging code path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix android/mac build Created 6 years, 11 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/base/latency_info_swap_promise.cc ('k') | cc/trees/layer_tree_host_impl_unittest.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>
9
8 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
9 #include "ui/events/latency_info.h" 11 #include "ui/events/latency_info.h"
10 #include "ui/gfx/size_f.h" 12 #include "ui/gfx/size_f.h"
11 #include "ui/gfx/vector2d_f.h" 13 #include "ui/gfx/vector2d_f.h"
12 14
13 namespace cc { 15 namespace cc {
14 16
15 class CC_EXPORT CompositorFrameMetadata { 17 class CC_EXPORT CompositorFrameMetadata {
16 public: 18 public:
17 CompositorFrameMetadata(); 19 CompositorFrameMetadata();
(...skipping 13 matching lines...) Expand all
31 gfx::SizeF root_layer_size; 33 gfx::SizeF root_layer_size;
32 float min_page_scale_factor; 34 float min_page_scale_factor;
33 float max_page_scale_factor; 35 float max_page_scale_factor;
34 36
35 // Used to position the Android location top bar and page content, whose 37 // Used to position the Android location top bar and page content, whose
36 // precise position is computed by the renderer compositor. 38 // precise position is computed by the renderer compositor.
37 gfx::Vector2dF location_bar_offset; 39 gfx::Vector2dF location_bar_offset;
38 gfx::Vector2dF location_bar_content_translation; 40 gfx::Vector2dF location_bar_content_translation;
39 float overdraw_bottom_height; 41 float overdraw_bottom_height;
40 42
41 ui::LatencyInfo latency_info; 43 std::vector<ui::LatencyInfo> latency_info;
42 }; 44 };
43 45
44 } // namespace cc 46 } // namespace cc
45 47
46 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 48 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « cc/base/latency_info_swap_promise.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698