Index: chrome/browser/media/desktop_media_list.h |
diff --git a/chrome/browser/media/desktop_media_list.h b/chrome/browser/media/desktop_media_list.h |
index 86ac37c02f869e0c1f2813b84ac5bbbbac0c38f6..130ea084e0ab7cc6e920472442df0663b81c2e13 100644 |
--- a/chrome/browser/media/desktop_media_list.h |
+++ b/chrome/browser/media/desktop_media_list.h |
@@ -5,9 +5,10 @@ |
#ifndef CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_H_ |
#define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_H_ |
-#include "base/strings/string16.h" |
#include "base/time/time.h" |
#include "content/public/browser/desktop_media_id.h" |
+#include "content/public/browser/web_contents_observer.h" |
+#include "ui/gfx/image/image.h" |
#include "ui/gfx/image/image_skia.h" |
class DesktopMediaListObserver; |
@@ -57,4 +58,9 @@ class DesktopMediaList { |
virtual const Source& GetSource(int index) const = 0; |
}; |
+// Create a image with an enlarged favicon on its center and black boundary. |
+// If fails, an empty image will return. |
+// The function is used to create a thumbnail for chrome tab preview. |
+gfx::ImageSkia CreateEnlargedFaviconImage(gfx::Size size, gfx::Image& favicon); |
+ |
#endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_H_ |