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

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

Issue 2246923002: Icon Capture Utility For Linux, Windows and Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/window_icon_util.h
diff --git a/chrome/browser/media/window_icon_util.h b/chrome/browser/media/window_icon_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..a5ee965fea9d6e4295aa95162583d1f13e32ae00
--- /dev/null
+++ b/chrome/browser/media/window_icon_util.h
@@ -0,0 +1,20 @@
+// 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.
+
+#ifndef CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_
+#define CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_
+
+#include "content/public/browser/desktop_media_id.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
+#include "ui/gfx/image/image_skia.h"
+
+class WindowIconUtil {
+ public:
+ virtual gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) = 0;
+
+ static std::unique_ptr<WindowIconUtil> Create(
+ const webrtc::DesktopCaptureOptions& options);
Sergey Ulanov 2016/08/15 22:28:39 I don't think there is any reason to depend on web
qiangchen 2016/08/16 22:29:52 Done.
+};
+
+#endif // CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/media/window_icon_util_mac.mm » ('j') | chrome/browser/media/window_icon_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698