#include "content/web_test/browser/web_test_shell_platform_delegate.h"
#include "base/containers/contains.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "content/shell/browser/shell.h"
#include "content/shell/browser/shell_platform_data_aura.h"
namespace content {
struct WebTestShellPlatformDelegate::WebTestShellData { … };
struct WebTestShellPlatformDelegate::WebTestPlatformData { … };
WebTestShellPlatformDelegate::WebTestShellPlatformDelegate() = default;
WebTestShellPlatformDelegate::~WebTestShellPlatformDelegate() = default;
void WebTestShellPlatformDelegate::Initialize(
const gfx::Size& default_window_size) { … }
void WebTestShellPlatformDelegate::CreatePlatformWindow(
Shell* shell,
const gfx::Size& initial_size) { … }
gfx::NativeWindow WebTestShellPlatformDelegate::GetNativeWindow(Shell* shell) { … }
void WebTestShellPlatformDelegate::CleanUp(Shell* shell) { … }
void WebTestShellPlatformDelegate::SetContents(Shell* shell) { … }
void WebTestShellPlatformDelegate::EnableUIControl(Shell* shell,
UIControl control,
bool is_enabled) { … }
void WebTestShellPlatformDelegate::SetAddressBarURL(Shell* shell,
const GURL& url) { … }
void WebTestShellPlatformDelegate::SetTitle(Shell* shell,
const std::u16string& title) { … }
void WebTestShellPlatformDelegate::MainFrameCreated(Shell* shell) { … }
bool WebTestShellPlatformDelegate::DestroyShell(Shell* shell) { … }
void WebTestShellPlatformDelegate::ResizeWebContent(
Shell* shell,
const gfx::Size& content_size) { … }
}