#include "chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.h"
#include <memory>
#include <string>
#include "base/functional/callback.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "build/build_config.h"
#include "chrome/browser/media/webrtc/desktop_media_list.h"
#include "chrome/browser/media/webrtc/fake_desktop_media_list.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/desktop_media_id.h"
#include "content/public/test/browser_test.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/window/dialog_delegate.h"
class DesktopMediaPickerViewsBrowserTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(DesktopMediaPickerViewsBrowserTest, InvokeUi_default) { … }
IN_PROC_BROWSER_TEST_F(DesktopMediaPickerViewsBrowserTest, InvokeUi_tabs) { … }
IN_PROC_BROWSER_TEST_F(DesktopMediaPickerViewsBrowserTest,
InitiallyFocusesDisabledOK) { … }
IN_PROC_BROWSER_TEST_F(DesktopMediaPickerViewsBrowserTest,
SingleSourceTypeChangesTitle) { … }