diff options
Diffstat (limited to 'chromium/cc/trees/layer_tree_settings.h')
-rw-r--r-- | chromium/cc/trees/layer_tree_settings.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chromium/cc/trees/layer_tree_settings.h b/chromium/cc/trees/layer_tree_settings.h index f6094a5defe..8dfe968b631 100644 --- a/chromium/cc/trees/layer_tree_settings.h +++ b/chromium/cc/trees/layer_tree_settings.h @@ -114,7 +114,11 @@ class CC_EXPORT LayerTreeSettings { // Indicates the case when a sub-frame gets its own LayerTree because it's // rendered in a different process from its ancestor frames. - bool is_layer_tree_for_subframe = false; + bool is_for_embedded_frame = false; + + // Indicates when the LayerTree is for a portal element, GuestView, or top + // level frame. In all these cases we may have a page scale. + bool is_for_scalable_page = true; // Determines whether we disallow non-exact matches when finding resources // in ResourcePool. Only used for layout or pixel tests, as non-deterministic @@ -204,6 +208,10 @@ class CC_EXPORT LayerTreeSettings { // even if the layer is not drawn. For example, if the layer is occluded it is // still considered drawn and will not be impacted by this feature. bool release_tile_resources_for_hidden_layers = false; + + // Whether Fluent scrollbar is enabled. Please check https://crbug.com/1292117 + // to find the link to the Fluent Scrollbar spec and related CLs. + bool enable_fluent_scrollbar = false; }; class CC_EXPORT LayerListSettings : public LayerTreeSettings { |