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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageCallback.java

Issue 2412483007: Download and show artwork in MediaMetdata in media notification (Closed)
Patch Set: Thanks to FindBugs, fixed some stupid bugs Created 4 years, 2 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageManager.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageCallback.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageCallback.java b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageCallback.java
new file mode 100644
index 0000000000000000000000000000000000000000..4eb9ec3cca8451d28b0cb9e48494002ec22d917a
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageCallback.java
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.media.ui;
+
+import android.graphics.Bitmap;
+
+/**
+ * The callback when an image is downloaded. This class is different with
+ * {@link ImageDownloadCallback} and is only used by {@link MediaImageManager}.
+ */
+public interface MediaImageCallback {
+ /**
+ * Called when image downloading is complete.
+ * @param bitmap The downloaded image.
+ */
+ void onImageDownloaded(Bitmap image);
+}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698