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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 139383006: Pass allow_delayed_resize in CompositorFrameMetadata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass allow_delayed_resize in CompositorFrameMetadata 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index d639afdb3760c517808f5cad3ddb109924062ee5..59406f1a956b1ea0a16083a236481f87267c6cba 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -41,7 +41,8 @@ class CC_EXPORT LayerTreeHostCommon {
bool can_use_lcd_text,
bool can_render_to_separate_surface,
bool can_adjust_raster_scales,
- RenderSurfaceLayerListType* render_surface_layer_list)
+ RenderSurfaceLayerListType* render_surface_layer_list,
+ bool* has_fixed_to_bottom_edge_layer)
: root_layer(root_layer),
device_viewport_size(device_viewport_size),
device_transform(device_transform),
@@ -52,7 +53,8 @@ class CC_EXPORT LayerTreeHostCommon {
can_use_lcd_text(can_use_lcd_text),
can_render_to_separate_surface(can_render_to_separate_surface),
can_adjust_raster_scales(can_adjust_raster_scales),
- render_surface_layer_list(render_surface_layer_list) {}
+ render_surface_layer_list(render_surface_layer_list),
+ has_fixed_to_bottom_edge_layer(has_fixed_to_bottom_edge_layer) {}
LayerType* root_layer;
gfx::Size device_viewport_size;
@@ -65,6 +67,7 @@ class CC_EXPORT LayerTreeHostCommon {
bool can_render_to_separate_surface;
bool can_adjust_raster_scales;
RenderSurfaceLayerListType* render_surface_layer_list;
+ bool* has_fixed_to_bottom_edge_layer;
};
template <typename LayerType, typename RenderSurfaceLayerListType>
@@ -226,7 +229,8 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
false,
true,
false,
- render_surface_layer_list) {
+ render_surface_layer_list,
+ NULL) {
DCHECK(root_layer);
DCHECK(render_surface_layer_list);
}
@@ -249,7 +253,8 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
false,
true,
false,
- render_surface_layer_list) {
+ render_surface_layer_list,
+ NULL) {
DCHECK(root_layer);
DCHECK(render_surface_layer_list);
}
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698