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

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

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use IPC? Created 6 years, 7 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 | Annotate | Revision Log
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 23 matching lines...) Expand all
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 // 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
38 // precise position is computed by the renderer compositor. 38 // precise position is computed by the renderer compositor.
39 gfx::Vector2dF location_bar_offset; 39 gfx::Vector2dF location_bar_offset;
40 gfx::Vector2dF location_bar_content_translation; 40 gfx::Vector2dF location_bar_content_translation;
41 float overdraw_bottom_height; 41 float overdraw_bottom_height;
42 42
43 std::vector<ui::LatencyInfo> latency_info; 43 std::vector<ui::LatencyInfo> latency_info;
44 // Payload associated with this frame.
45 std::vector<IPC::Message> payload;
mkosiba (inactive) 2014/05/06 22:30:33 metadata seems to be the most convenient place for
piman 2014/05/07 01:21:46 I don't think we want to make cc depend on IPC. I
mkosiba (inactive) 2014/05/07 18:27:20 true. The other reason I'm gravitating towards met
44 }; 46 };
45 47
46 } // namespace cc 48 } // namespace cc
47 49
48 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 50 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698