summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_scrollbar.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-11 14:26:56 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-11 14:26:56 +0000
commit2ea5abaf1e92cb688b7b766a1fa83fa44840d8ab (patch)
treec08340e820c894636453eb3dedc74ca0a14e23ea /cc/test/fake_scrollbar.cc
parent8853963c136bfd45e5d4b55f0b8df3207839ca16 (diff)
downloadchromium_src-2ea5abaf1e92cb688b7b766a1fa83fa44840d8ab.zip
chromium_src-2ea5abaf1e92cb688b7b766a1fa83fa44840d8ab.tar.gz
chromium_src-2ea5abaf1e92cb688b7b766a1fa83fa44840d8ab.tar.bz2
Add a thinning scrollbar animator for desktop overlay scrollbars.
This makes the overlay scrollbars on desktop get thinner on idle rather than disappearing. This allows people to find and target them easier. No changes to Android scrollbars. BUG=274010 Review URL: https://chromiumcodereview.appspot.com/23647004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_scrollbar.cc')
-rw-r--r--cc/test/fake_scrollbar.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/fake_scrollbar.cc b/cc/test/fake_scrollbar.cc
index 67166f6..b1566fb 100644
--- a/cc/test/fake_scrollbar.cc
+++ b/cc/test/fake_scrollbar.cc
@@ -32,6 +32,10 @@ ScrollbarOrientation FakeScrollbar::Orientation() const {
return HORIZONTAL;
}
+bool FakeScrollbar::IsLeftSideVerticalScrollbar() const {
+ return false;
+}
+
gfx::Point FakeScrollbar::Location() const { return location_; }
bool FakeScrollbar::IsOverlay() const { return is_overlay_; }