Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_ | |
| 6 #define CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_ | |
| 7 | |
| 8 #include "content/public/browser/desktop_media_id.h" | |
| 9 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" | |
| 10 #include "ui/gfx/image/image_skia.h" | |
| 11 | |
| 12 class WindowIconUtil { | |
| 13 public: | |
| 14 virtual gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) = 0; | |
| 15 | |
| 16 static std::unique_ptr<WindowIconUtil> Create( | |
| 17 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.
| |
| 18 }; | |
| 19 | |
| 20 #endif // CHROME_BROWSER_MEDIA_WINDOW_ICON_UTIL_H_ | |
| OLD | NEW |