#include "chrome/browser/picture_in_picture/auto_pip_setting_overlay_view.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/animation/tween.h"
#include "ui/views/animation/animation_builder.h"
#include "ui/views/background.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/layout/flex_layout_view.h"
namespace {
constexpr float kOverlayViewOpacity = …;
constexpr int kFadeInDurationMs = …;
}
AutoPipSettingOverlayView::AutoPipSettingOverlayView(
ResultCb result_cb,
const GURL& origin,
const gfx::Rect& browser_view_overridden_bounds,
views::View* anchor_view,
views::BubbleBorder::Arrow arrow)
: … { … }
void AutoPipSettingOverlayView::ShowBubble(gfx::NativeView parent) { … }
void AutoPipSettingOverlayView::OnHideView() { … }
gfx::Size AutoPipSettingOverlayView::GetBubbleSize() const { … }
void AutoPipSettingOverlayView::FadeInLayer(ui::Layer* layer) { … }
bool AutoPipSettingOverlayView::WantsEvent(const gfx::Point& point) { … }
bool AutoPipSettingOverlayView::IsShowTimerRunning() { … }
AutoPipSettingOverlayView::~AutoPipSettingOverlayView() { … }
void AutoPipSettingOverlayView::OnWidgetDestroying(views::Widget*) { … }
void AutoPipSettingOverlayView::IgnoreInputEvents(
content::WebContents* web_contents) { … }
BEGIN_METADATA(…)