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

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

Issue 2725273002: Rename ScrollableArea fields and methods *Widget* to ...FrameViewBase... (Closed)
Patch Set: Rename ScrollableArea *Widget* to ...FrameViewBase... Created 3 years, 10 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 | « third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index 5f01f0ca53e346fbe7d8c63a591e83c4283df349..a3dba61d2e9123793929f28f84c13ddbbc9a166e 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -572,36 +572,40 @@ bool Scrollbar::isWindowActive() const {
IntRect Scrollbar::convertToContainingFrameViewBase(
const IntRect& localRect) const {
- if (m_scrollableArea)
- return m_scrollableArea->convertFromScrollbarToContainingWidget(*this,
- localRect);
+ if (m_scrollableArea) {
+ return m_scrollableArea->convertFromScrollbarToContainingFrameViewBase(
+ *this, localRect);
+ }
return FrameViewBase::convertToContainingFrameViewBase(localRect);
}
IntRect Scrollbar::convertFromContainingFrameViewBase(
const IntRect& parentRect) const {
- if (m_scrollableArea)
- return m_scrollableArea->convertFromContainingWidgetToScrollbar(*this,
- parentRect);
+ if (m_scrollableArea) {
+ return m_scrollableArea->convertFromContainingFrameViewBaseToScrollbar(
+ *this, parentRect);
+ }
return FrameViewBase::convertFromContainingFrameViewBase(parentRect);
}
IntPoint Scrollbar::convertToContainingFrameViewBase(
const IntPoint& localPoint) const {
- if (m_scrollableArea)
- return m_scrollableArea->convertFromScrollbarToContainingWidget(*this,
- localPoint);
+ if (m_scrollableArea) {
+ return m_scrollableArea->convertFromScrollbarToContainingFrameViewBase(
+ *this, localPoint);
+ }
return FrameViewBase::convertToContainingFrameViewBase(localPoint);
}
IntPoint Scrollbar::convertFromContainingFrameViewBase(
const IntPoint& parentPoint) const {
- if (m_scrollableArea)
- return m_scrollableArea->convertFromContainingWidgetToScrollbar(
+ if (m_scrollableArea) {
+ return m_scrollableArea->convertFromContainingFrameViewBaseToScrollbar(
*this, parentPoint);
+ }
return FrameViewBase::convertFromContainingFrameViewBase(parentPoint);
}
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698