chromium/chrome/browser/media/webrtc/media_stream_focus_delegate_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/media/webrtc/media_stream_focus_delegate.h"

#include <memory>

#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"

_;
Return;

namespace {

const content::DesktopMediaID kDesktopMediaIDWindow =;

class MockWindowCapturer : public webrtc::DesktopCapturer {};

}  // namespace

class MediaStreamFocusDelegateTest : public BrowserWithTestWindowTest {};

TEST_F(MediaStreamFocusDelegateTest, FirstSetFocusTrueFocusesTab) {}

TEST_F(MediaStreamFocusDelegateTest, SecondSetFocusTrueHasNoEffect) {}

TEST_F(MediaStreamFocusDelegateTest, SetFocusFalseClosesFocusWindow) {}

TEST_F(MediaStreamFocusDelegateTest, ChangeOfTabClosesFocusWindow) {}

TEST_F(MediaStreamFocusDelegateTest, SelectedSourceFocusesWindow) {}

TEST_F(MediaStreamFocusDelegateTest, NotSelectedSourceDoesNotFocusWindow) {}