| 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 d8b2e237f343cd13b8b39c5bfa21605329315296..ebfd983e3a2f257a2222ea20cae671fc4de95ada 100644
|
| --- a/chrome/browser/media/desktop_media_list.h
|
| +++ b/chrome/browser/media/desktop_media_list.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/strings/string16.h"
|
| #include "base/time/time.h"
|
| #include "content/public/browser/desktop_media_id.h"
|
| +#include "ui/gfx/image/image.h"
|
| #include "ui/gfx/image/image_skia.h"
|
|
|
| class DesktopMediaListObserver;
|
| @@ -56,6 +57,13 @@ class DesktopMediaList {
|
|
|
| virtual int GetSourceCount() const = 0;
|
| virtual const Source& GetSource(int index) const = 0;
|
| +
|
| + protected:
|
| + // 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.
|
| + static gfx::ImageSkia CreateEnlargedFaviconImage(gfx::Size size,
|
| + gfx::Image& favicon);
|
| };
|
|
|
| #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_H_
|
|
|