#include "chrome/browser/ui/views/extensions/extension_view_views.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_view_host.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/extensions/extension_popup.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/mojom/view_type.mojom.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/events/event.h"
#include "ui/views/controls/native/native_view_host.h"
#include "ui/views/widget/widget.h"
ExtensionViewViews::ExtensionViewViews(extensions::ExtensionViewHost* host)
: … { … }
ExtensionViewViews::~ExtensionViewViews() { … }
void ExtensionViewViews::Init() { … }
void ExtensionViewViews::VisibilityChanged(View* starting_from,
bool is_visible) { … }
gfx::Size ExtensionViewViews::GetMinimumSize() const { … }
void ExtensionViewViews::SetMinimumSize(const gfx::Size& minimum_size) { … }
void ExtensionViewViews::SetContainer(
ExtensionViewViews::Container* container) { … }
ExtensionViewViews::Container* ExtensionViewViews::GetContainer() const { … }
void ExtensionViewViews::AddObserver(Observer* observer) { … }
void ExtensionViewViews::RemoveObserver(Observer* observer) { … }
gfx::NativeView ExtensionViewViews::GetNativeView() { … }
void ExtensionViewViews::ResizeDueToAutoResize(
content::WebContents* web_contents,
const gfx::Size& new_size) { … }
void ExtensionViewViews::RenderFrameCreated(
content::RenderFrameHost* frame_host) { … }
bool ExtensionViewViews::HandleKeyboardEvent(
content::WebContents* source,
const input::NativeWebKeyboardEvent& event) { … }
void ExtensionViewViews::OnLoaded() { … }
ui::Cursor ExtensionViewViews::GetCursor(const ui::MouseEvent& event) { … }
void ExtensionViewViews::OnWebContentsAttached(views::WebView*) { … }
BEGIN_METADATA(…)