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

Unified Diff: chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h

Issue 1880693002: Desktop Capture Picker New UI: Preliminary Refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/extensions/api/desktop_capture/desktop_capture_base.h
diff --git a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h
index 57286fa6f6759dd9b432accdb718f9d89d2abed2..b35aaede16576f7ca069fb257bf1d9dc66fd6d21 100644
--- a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h
+++ b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.h
@@ -26,10 +26,11 @@ class DesktopCaptureChooseDesktopMediaFunctionBase
// Used for tests to supply fake picker.
class PickerFactory {
public:
- virtual std::unique_ptr<DesktopMediaList> CreateModel(bool show_screens,
- bool show_windows,
- bool show_tabs,
- bool show_audio) = 0;
+ virtual std::vector<std::unique_ptr<DesktopMediaList>> CreateModel(
+ bool show_screens,
+ bool show_windows,
+ bool show_tabs,
+ bool show_audio) = 0;
virtual std::unique_ptr<DesktopMediaPicker> CreatePicker() = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698