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

Unified Diff: Source/platform/scroll/FramelessScrollView.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/FramelessScrollView.h ('k') | Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/FramelessScrollView.cpp
diff --git a/Source/platform/scroll/FramelessScrollView.cpp b/Source/platform/scroll/FramelessScrollView.cpp
index ce002fefaa49ef8dfc958baef9ebdb8776087644..57f588503b194e0750162cb8eda8549aacb8ce4a 100644
--- a/Source/platform/scroll/FramelessScrollView.cpp
+++ b/Source/platform/scroll/FramelessScrollView.cpp
@@ -50,7 +50,7 @@ void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const In
invalidateRect(dirtyRect);
}
-bool FramelessScrollView::isActive() const
+bool FramelessScrollView::isActiveFocus() const
{
// FIXME
return true;
@@ -58,7 +58,7 @@ bool FramelessScrollView::isActive() const
bool FramelessScrollView::scrollbarsCanBeActive() const
{
- return isActive();
+ return isActiveFocus();
}
IntRect FramelessScrollView::scrollableAreaBoundingBox() const
« no previous file with comments | « Source/platform/scroll/FramelessScrollView.h ('k') | Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698