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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h

Issue 2040693002: Rename RootScroller class to RootScrollerController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/page/scrolling/RootScrollerController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScroller.h b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
similarity index 86%
rename from third_party/WebKit/Source/core/page/scrolling/RootScroller.h
rename to third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
index 516290cf0c18ba7ddbf3856341559754d09bd970..2d5261c6694b74edc0f9c37e7be8cb1b699cd363 100644
--- a/third_party/WebKit/Source/core/page/scrolling/RootScroller.h
+++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef RootScroller_h
-#define RootScroller_h
+#ifndef RootScrollerController_h
+#define RootScrollerController_h
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
@@ -35,17 +35,18 @@ class ViewportScrollCallback;
// defaultEffectiveRootScroller()). The rules for what makes an element a valid
// root scroller are set in isValidRootScroller(). The validity of the current
// root scroller is re-checked after each layout.
-class CORE_EXPORT RootScroller : public GarbageCollected<RootScroller> {
+class CORE_EXPORT RootScrollerController
+ : public GarbageCollected<RootScrollerController> {
public:
- // Creates a RootScroller for the given document. An optional
- // ViewportScrollCallback can be provided. If it is, RootScroller will
- // ensure that the effectiveRootScroller element always has this set as the
- // apply scroll callback.
- static RootScroller* create(
+ // Creates a RootScrollerController for the given document. An optional
+ // ViewportScrollCallback can be provided. If it is, RootScrollerController
+ // will ensure that the effectiveRootScroller element always has this set as
+ // the apply scroll callback.
+ static RootScrollerController* create(
Document& document,
ViewportScrollCallback* applyScrollCallback)
{
- return new RootScroller(document, applyScrollCallback);
+ return new RootScrollerController(document, applyScrollCallback);
}
// Creates an apply scroll callback that handles viewport actions like
@@ -79,7 +80,7 @@ public:
void didUpdateLayout();
private:
- RootScroller(Document&, ViewportScrollCallback*);
+ RootScrollerController(Document&, ViewportScrollCallback*);
Element* defaultEffectiveRootScroller();
@@ -97,4 +98,4 @@ private:
} // namespace blink
-#endif // RootScroller_h
+#endif // RootScrollerController_h

Powered by Google App Engine
This is Rietveld 408576698