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

Unified Diff: ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java

Issue 894193005: [Android] Use the platform SwipeRefreshLayout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
Index: ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java
diff --git a/ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java b/ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java
index b49eed74a3ccddb7d1df9b0999a2b88df737cc9c..9039ac232a50b6cd0f4bd66495d3eab283a6455f 100644
--- a/ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java
+++ b/ui/android/java/src/org/chromium/ui/resources/system/SystemResourceLoader.java
@@ -12,7 +12,6 @@ import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.RectF;
-import org.chromium.ui.R;
import org.chromium.ui.gfx.DeviceDisplayInfo;
import org.chromium.ui.resources.Resource;
import org.chromium.ui.resources.SystemUIResourceType;
@@ -54,12 +53,6 @@ public class SystemResourceLoader extends AsyncPreloadResourceLoader {
case SystemUIResourceType.OVERSCROLL_GLOW_L:
return createOverscrollGlowLBitmap(context);
- // TODO(jdduke): Make refresh resources be of type ANDROID_RESOURCE_TYPE_STATIC.
- case SystemUIResourceType.OVERSCROLL_REFRESH_IDLE:
- return StaticResource.create(context.getResources(), R.drawable.refresh_gray, 0, 0);
- case SystemUIResourceType.OVERSCROLL_REFRESH_ACTIVE:
- return StaticResource.create(context.getResources(), R.drawable.refresh_blue, 0, 0);
-
default:
assert false;
}
« no previous file with comments | « ui/android/java/res/drawable-xxxhdpi/refresh_gray.png ('k') | ui/android/resources/system_ui_resource_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698