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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 1801753002: First programmatic smooth scroll should run on the compositor if it can (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bot compile error Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index 126d15692a2046b624373646289ce12a3a6de7a3..0a87c1ea261c86b0b0bea994669974369e7f927b 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -401,6 +401,10 @@ public:
// or -1 if the node does not have a scrollable area.
int getScrollAnimationState(Node*) const;
+ // Returns the run state of the node's programmatic scroll animator (see ScrollAnimatorCompositorCoordinater::RunState),
+ // or -1 if the node does not have a scrollable area.
+ String getProgrammaticScrollAnimationState(Node*) const;
+
private:
explicit Internals(ScriptState*);
Document* contextDocument() const;

Powered by Google App Engine
This is Rietveld 408576698