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

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

Issue 260353003: isActiveFocus() is a more meaningful name (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/scroll/ScrollableArea.h ('k') | Source/web/ScrollbarGroup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/Scrollbar.cpp
diff --git a/Source/platform/scroll/Scrollbar.cpp b/Source/platform/scroll/Scrollbar.cpp
index dc6946730fb27bc0e530262abbf8f4b5a489b2ef..653a07bd80499055f857ebf9c8588facadb7ef63 100644
--- a/Source/platform/scroll/Scrollbar.cpp
+++ b/Source/platform/scroll/Scrollbar.cpp
@@ -121,7 +121,7 @@ void Scrollbar::getTickmarks(Vector<IntRect>& tickmarks) const
bool Scrollbar::isScrollableAreaActive() const
{
- return m_scrollableArea && m_scrollableArea->isActive();
+ return m_scrollableArea && m_scrollableArea->isActiveFocus();
}
bool Scrollbar::isScrollViewScrollbar() const
@@ -548,7 +548,7 @@ bool Scrollbar::shouldParticipateInHitTesting()
bool Scrollbar::isWindowActive() const
{
- return m_scrollableArea && m_scrollableArea->isActive();
+ return m_scrollableArea && m_scrollableArea->isActiveFocus();
}
void Scrollbar::invalidateRect(const IntRect& rect)
« no previous file with comments | « Source/platform/scroll/ScrollableArea.h ('k') | Source/web/ScrollbarGroup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698