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

Unified Diff: sky/engine/core/frame/LocalDOMWindow.h

Issue 677223002: Remove some more frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/LocalDOMWindow.h
diff --git a/sky/engine/core/frame/LocalDOMWindow.h b/sky/engine/core/frame/LocalDOMWindow.h
index 6f13ae2b47f2fb7c202ac0eefb75751c10fbf002..e5ade0de6949c35b430a2759da0cf86330774fbd 100644
--- a/sky/engine/core/frame/LocalDOMWindow.h
+++ b/sky/engine/core/frame/LocalDOMWindow.h
@@ -35,7 +35,6 @@
#include "platform/LifecycleContext.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
-#include "platform/scroll/ScrollableArea.h"
#include "wtf/Forward.h"
@@ -133,10 +132,6 @@ public:
int screenY() const;
int screenLeft() const { return screenX(); }
int screenTop() const { return screenY(); }
- int scrollX() const;
- int scrollY() const;
- int pageXOffset() const { return scrollX(); }
- int pageYOffset() const { return scrollY(); }
// FIXME(sky): keeping self for now since js-test.html uses it.
LocalDOMWindow* window() const;
@@ -164,13 +159,6 @@ public:
void printErrorMessage(const String&);
- 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, 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); }
-
void moveBy(float x, float y) const;
void moveTo(float x, float y) const;
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698