summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/layer_tree_settings.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-07 13:12:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:02:59 +0000
commit33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch)
treef6af110909c79b2759136554f1143d8b0572af0a /chromium/cc/trees/layer_tree_settings.h
parent7d2c5d177e9813077a621df8d18c0deda73099b3 (diff)
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/cc/trees/layer_tree_settings.h')
-rw-r--r--chromium/cc/trees/layer_tree_settings.h10
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 {