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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

Issue 2832883003: Remove unneeded Convert* methods and move many from FrameViewBase to FrameView (Closed)
Patch Set: remove scrollbar convert methods Created 3 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: third_party/WebKit/Source/platform/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 14cc4f7ca713b48b096e7fce0b2102a9a0c73195..a00376e30911f45661a653ccce985e79c7385555 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -86,9 +86,7 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
bool IsScrollableAreaActive() const override;
IntPoint ConvertFromRootFrame(
- const IntPoint& point_in_root_frame) const override {
- return FrameViewBase::ConvertFromRootFrame(point_in_root_frame);
- }
+ const IntPoint& point_in_root_frame) const override;
bool IsCustomScrollbar() const override { return false; }
ScrollbarOrientation Orientation() const override { return orientation_; }
@@ -157,12 +155,6 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
ScrollbarTheme& GetTheme() const { return theme_; }
- IntRect ConvertToContainingFrameViewBase(const IntRect&) const override;
- IntRect ConvertFromContainingFrameViewBase(const IntRect&) const override;
-
- IntPoint ConvertToContainingFrameViewBase(const IntPoint&) const override;
- IntPoint ConvertFromContainingFrameViewBase(const IntPoint&) const override;
-
void MoveThumb(int pos, bool dragging_document = false);
float ElasticOverscroll() const override { return elastic_overscroll_; }

Powered by Google App Engine
This is Rietveld 408576698