Chromium Code Reviews| Index: chrome/browser/media/desktop_media_list_base.h |
| diff --git a/chrome/browser/media/desktop_media_list_base.h b/chrome/browser/media/desktop_media_list_base.h |
| index 6c0feb11373953c5edf66a070203145349b4ed34..01d43fb78582825c73b240417b286a7ad432da1d 100644 |
| --- a/chrome/browser/media/desktop_media_list_base.h |
| +++ b/chrome/browser/media/desktop_media_list_base.h |
| @@ -7,6 +7,7 @@ |
| #include "chrome/browser/media/desktop_media_list.h" |
| #include "content/public/browser/desktop_media_id.h" |
| +#include "ui/gfx/image/image.h" |
|
Sergey Ulanov
2016/03/12 01:01:20
forward-declare gfx::Image instead of including th
GeorgeZ
2016/03/14 16:49:03
Done.
|
| // Thumbnail size is 100*100 pixels |
| static const int kDefaultThumbnailSize = 100; |
| @@ -27,6 +28,8 @@ class DesktopMediaListBase : public DesktopMediaList { |
| int GetSourceCount() const override; |
| const Source& GetSource(int index) const override; |
| + static uint32_t GetImageHash(const gfx::Image& image); |
| + |
| protected: |
| struct SourceDescription { |
| SourceDescription(content::DesktopMediaID id, const base::string16& name); |