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

Unified Diff: chrome/browser/media/desktop_media_list_base.h

Issue 1763753003: Capture chrome browser windows from internal rendering procedure for windows and linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: 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);
« no previous file with comments | « no previous file | chrome/browser/media/desktop_media_list_base.cc » ('j') | chrome/browser/media/desktop_media_list_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698