#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
#include <memory>
#include <vector>
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/webui/chrome_web_contents_handler.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "chrome/test/base/test_browser_window.h"
#include "chrome/test/base/testing_profile.h"
#include "components/history/core/browser/history_types.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/window_features/window_features.mojom.h"
#include "ui/gfx/geometry/rect.h"
#include "url/gurl.h"
OpenURLParams;
Referrer;
BrowserContext;
WebContents;
WebContentsTester;
WebDialogWebContentsDelegate;
namespace {
class TestWebContentsDelegate : public WebDialogWebContentsDelegate { … };
class WebDialogWebContentsDelegateTest : public BrowserWithTestWindowTest { … };
TEST_F(WebDialogWebContentsDelegateTest, DoNothingMethodsTest) { … }
TEST_F(WebDialogWebContentsDelegateTest, OpenURLFromTabTest) { … }
TEST_F(WebDialogWebContentsDelegateTest, AddNewContentsForegroundTabTest) { … }
TEST_F(WebDialogWebContentsDelegateTest, DetachTest) { … }
}