#include "chrome/browser/ui/lens/lens_preselection_bubble.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "build/branding_buildflags.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "lens_preselection_bubble.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/models/image_model.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/color/color_provider.h"
#include "ui/display/screen.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/window/dialog_delegate.h"
namespace lens {
namespace {
const int kPreselectionBubbleMinY = …;
}
LensPreselectionBubble::LensPreselectionBubble(views::View* anchor_view,
bool offline,
ExitClickedCallback callback)
: … { … }
LensPreselectionBubble::~LensPreselectionBubble() = default;
void LensPreselectionBubble::Init() { … }
gfx::Rect LensPreselectionBubble::GetBubbleBounds() { … }
void LensPreselectionBubble::OnThemeChanged() { … }
BEGIN_METADATA(…)
}