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

Unified Diff: Source/core/frame/LocalDOMWindow.h

Issue 134443003: Implement CSSOM Smooth Scroll API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.h
diff --git a/Source/core/frame/LocalDOMWindow.h b/Source/core/frame/LocalDOMWindow.h
index d8c2288dc99ab25d6963eb754c22c9b0267db401..e0907921627de4e455856e3bf3560b102b794b74 100644
--- a/Source/core/frame/LocalDOMWindow.h
+++ b/Source/core/frame/LocalDOMWindow.h
@@ -34,6 +34,7 @@
#include "platform/LifecycleContext.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
+#include "platform/scroll/ScrollableArea.h"
#include "wtf/Forward.h"
@@ -232,9 +233,9 @@ enum PageshowEventPersistence {
void postMessageTimerFired(PassOwnPtr<PostMessageTimer>);
void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>);
- void scrollBy(int x, int y) const;
+ void scrollBy(int x, int y, ScrollBehavior = ScrollBehaviorAuto) const;
void scrollBy(int x, int y, const Dictionary& scrollOptions, ExceptionState&) const;
- void scrollTo(int x, int y) const;
+ void scrollTo(int x, int y, ScrollBehavior = ScrollBehaviorAuto) const;
void scrollTo(int x, int y, const Dictionary& scrollOptions, ExceptionState&) const;
void scroll(int x, int y) const { scrollTo(x, y); }
void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionState& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); }
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698