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

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

Issue 12623031: Pass the overdraw value to the browser w/ frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "ui/gfx/size_f.h" 9 #include "ui/gfx/size_f.h"
10 #include "ui/gfx/vector2d_f.h" 10 #include "ui/gfx/vector2d_f.h"
(...skipping 17 matching lines...) Expand all
28 // determine if scrolling/scaling in a particular direction is possible. 28 // determine if scrolling/scaling in a particular direction is possible.
29 gfx::SizeF viewport_size; 29 gfx::SizeF viewport_size;
30 gfx::SizeF root_layer_size; 30 gfx::SizeF root_layer_size;
31 float min_page_scale_factor; 31 float min_page_scale_factor;
32 float max_page_scale_factor; 32 float max_page_scale_factor;
33 33
34 // Used to position the Android location top bar and page content, whose 34 // Used to position the Android location top bar and page content, whose
35 // precise position is computed by the renderer compositor. 35 // precise position is computed by the renderer compositor.
36 gfx::Vector2dF location_bar_offset; 36 gfx::Vector2dF location_bar_offset;
37 gfx::Vector2dF location_bar_content_translation; 37 gfx::Vector2dF location_bar_content_translation;
38 float overdraw_bottom_height;
38 }; 39 };
39 40
40 } // namespace cc 41 } // namespace cc
41 42
42 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 43 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/compositor_frame_metadata.cc » ('j') | cc/output/compositor_frame_metadata.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698