[Android] Use the platform SwipeRefreshLayout
commitb003775553a0b51cbbd8bd25a5b9c4a27f46550c
authorjdduke <jdduke@chromium.org>
Wed, 15 Apr 2015 01:55:08 +0000 (14 18:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 01:55:33 +0000 (15 01:55 +0000)
tree25d8b5b591ecc424e9d9413f732d74c27c723737
parentb5ec938f61cb21064185ee7361511e432aa32306
[Android] Use the platform SwipeRefreshLayout

Adopt the compat library's implementation of the pull-to-refresh effect,
removing the old compositor-based approach.

This depends directly on the SwipeRefreshLayout addition in
https://codereview.chromium.org/897663003/.

BUG=428429,444134

Review URL: https://codereview.chromium.org/894193005

Cr-Commit-Position: refs/heads/master@{#325172}
35 files changed:
chrome/android/BUILD.gn
chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/android/java/strings/android_chrome_strings.grd
chrome/chrome.gyp
content/browser/android/content_view_core_impl.cc
content/browser/android/content_view_core_impl.h
content/browser/android/overscroll_controller_android.cc
content/browser/android/overscroll_controller_android.h
content/browser/android/overscroll_glow.cc
content/browser/android/overscroll_glow.h
content/browser/android/overscroll_refresh.cc
content/browser/android/overscroll_refresh.h
content/browser/android/overscroll_refresh_unittest.cc
content/browser/renderer_host/render_widget_host_view_android.cc
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java [new file with mode: 0644]
third_party/android_swipe_refresh/BUILD.gn
third_party/android_swipe_refresh/README.chromium
third_party/android_swipe_refresh/android_swipe_refresh.gyp
third_party/android_swipe_refresh/java/src/org/chromium/third_party/android/swiperefresh/CircleImageView.java [moved from third_party/android_swipe_refresh/java/src/chromium/third_party/android/swiperefresh/CircleImageView.java with 79% similarity]
third_party/android_swipe_refresh/java/src/org/chromium/third_party/android/swiperefresh/MaterialProgressDrawable.java [moved from third_party/android_swipe_refresh/java/src/chromium/third_party/android/swiperefresh/MaterialProgressDrawable.java with 96% similarity]
third_party/android_swipe_refresh/java/src/org/chromium/third_party/android/swiperefresh/SwipeRefreshLayout.java [moved from third_party/android_swipe_refresh/java/src/chromium/third_party/android/swiperefresh/SwipeRefreshLayout.java with 61% similarity]
ui/android/java/res/drawable-hdpi/refresh_blue.png [deleted file]
ui/android/java/res/drawable-hdpi/refresh_gray.png [deleted file]
ui/android/java/res/drawable-mdpi/refresh_blue.png [deleted file]
ui/android/java/res/drawable-mdpi/refresh_gray.png [deleted file]
ui/android/java/res/drawable-xhdpi/refresh_blue.png [deleted file]
ui/android/java/res/drawable-xhdpi/refresh_gray.png [deleted file]
ui/android/java/res/drawable-xxhdpi/refresh_blue.png [deleted file]
ui/android/java/res/drawable-xxhdpi/refresh_gray.png [deleted file]
ui/android/java/res/drawable-xxxhdpi/refresh_blue.png [deleted file]
ui/android/java/res/drawable-xxxhdpi/refresh_gray.png [deleted file]
ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java
ui/android/resources/system_ui_resource_type.h