chromium/chrome/test/base/dialog_test_browser_window.cc

// Copyright 2015 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/test/base/dialog_test_browser_window.h"

#include <memory>
#include <utility>

#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/web_contents.h"
#include "ui/views/widget/widget.h"

WebContentsModalDialogHost;
ModalDialogHostObserver;

DialogTestBrowserWindow::DialogTestBrowserWindow() {}

DialogTestBrowserWindow::~DialogTestBrowserWindow() = default;

WebContentsModalDialogHost*
DialogTestBrowserWindow::GetWebContentsModalDialogHost() {}

// The web contents modal dialog must be parented to *something*; use the
// WebContents window since there is no true browser window for unit tests.
gfx::NativeView DialogTestBrowserWindow::GetHostView() const {}

gfx::Point DialogTestBrowserWindow::GetDialogPosition(const gfx::Size& size) {}

gfx::Size DialogTestBrowserWindow::GetMaximumDialogSize() {}

void DialogTestBrowserWindow::AddObserver(ModalDialogHostObserver* observer) {}

void DialogTestBrowserWindow::RemoveObserver(
    ModalDialogHostObserver* observer) {}

Browser* DialogTestBrowserWindow::FindBrowser() const {}