#include "chrome/browser/ui/views/overlay/resize_handle_button.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/hit_test.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/gfx/image/image_skia_operations.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/skbitmap_operations.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/vector_icons.h"
namespace {
constexpr int kResizeHandleButtonMargin = …;
constexpr int kResizeHandleButtonSize = …;
}
ResizeHandleButton::ResizeHandleButton(PressedCallback callback)
: … { … }
ResizeHandleButton::~ResizeHandleButton() = default;
void ResizeHandleButton::OnThemeChanged() { … }
int ResizeHandleButton::GetHTComponent() const { … }
void ResizeHandleButton::SetPosition(
const gfx::Size& size,
VideoOverlayWindowViews::WindowQuadrant quadrant) { … }
void ResizeHandleButton::SetQuadrant(
VideoOverlayWindowViews::WindowQuadrant quadrant) { … }
void ResizeHandleButton::UpdateImageForQuadrant() { … }
BEGIN_METADATA(…)