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

Unified Diff: cc/trees/scroll_node.h

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update WebScrollBoundaryBehavior. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/scroll_node.h
diff --git a/cc/trees/scroll_node.h b/cc/trees/scroll_node.h
index 4eefe42aff18b92f9d66118fb8f0101192569fa2..d9aab330ca61c92c3a50b94fff5fd2d30007071d 100644
--- a/cc/trees/scroll_node.h
+++ b/cc/trees/scroll_node.h
@@ -8,6 +8,7 @@
#include "cc/base/filter_operations.h"
#include "cc/base/region.h"
#include "cc/cc_export.h"
+#include "cc/input/scroll_boundary_behavior.h"
#include "ui/gfx/geometry/size.h"
namespace base {
@@ -62,6 +63,8 @@ struct CC_EXPORT ScrollNode {
ElementId element_id;
int transform_id;
+ ScrollBoundaryBehavior scroll_boundary_behavior;
+
bool operator==(const ScrollNode& other) const;
void AsValueInto(base::trace_event::TracedValue* value) const;
};

Powered by Google App Engine
This is Rietveld 408576698