// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_MEDIA_LIST_H_ #define CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_MEDIA_LIST_H_ #include <optional> #include <string> #include <vector> #include "base/functional/callback_forward.h" #include "base/time/time.h" #include "content/public/browser/desktop_media_id.h" #include "ui/gfx/image/image_skia.h" class DesktopMediaListObserver; namespace content { class WebContents; } // DesktopMediaList provides the list of desktop media source (screens, windows, // tabs), and their thumbnails, to the desktop media picker dialog. It // transparently updates the list in the background, and notifies the desktop // media picker when something changes. // // TODO(crbug.com/40637301): Consider renaming this class. class DesktopMediaList { … }; #endif // CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_MEDIA_LIST_H_