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

Unified Diff: Source/WebCore/platform/ScrollView.h

Issue 13544008: Remove PlatformWidget references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: Source/WebCore/platform/ScrollView.h
diff --git a/Source/WebCore/platform/ScrollView.h b/Source/WebCore/platform/ScrollView.h
index f829c113256ece701f2a64d5a876368554338108..9ae6ee0282815a2650652a856681e6b99d61e96d 100644
--- a/Source/WebCore/platform/ScrollView.h
+++ b/Source/WebCore/platform/ScrollView.h
@@ -194,9 +194,6 @@ public:
virtual void setScrollPosition(const IntPoint&);
void scrollBy(const IntSize& s) { return setScrollPosition(scrollPosition() + s); }
- // This function scrolls by lines, pages or pixels.
- bool scroll(ScrollDirection, ScrollGranularity);
-
// A logical scroll that just ends up calling the corresponding physical scroll() based off the document's writing mode.
bool logicalScroll(ScrollLogicalDirection, ScrollGranularity);
@@ -405,16 +402,6 @@ public:
private:
NSScrollView<WebCoreFrameScrollView>* scrollView() const;
#endif
-
-#if PLATFORM(WX)
-public:
- virtual void setPlatformWidget(wxWindow*);
- void adjustScrollbars(int x = -1, int y = -1, bool refresh = true);
-private:
- class ScrollViewPrivate;
- ScrollViewPrivate* m_data;
-#endif
-
}; // class ScrollView
inline ScrollView* toScrollView(Widget* widget)

Powered by Google App Engine
This is Rietveld 408576698