#include "ui/views/animation/ink_drop.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/observer_list.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/views/animation/ink_drop_host.h"
#include "ui/views/animation/ink_drop_impl.h"
#include "ui/views/animation/ink_drop_observer.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(…)
namespace views {
namespace {
DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(…)
std::unique_ptr<InkDrop> CreateInkDropImpl(
InkDropHost* host,
InkDropImpl::AutoHighlightMode auto_highlight_mode,
bool highlight_on_hover,
bool highlight_on_focus) { … }
}
InkDrop::~InkDrop() = default;
InkDropHost* InkDrop::Install(View* host,
std::unique_ptr<InkDropHost> ink_drop) { … }
void InkDrop::Remove(View* host) { … }
const InkDropHost* InkDrop::Get(const View* host) { … }
std::unique_ptr<InkDrop> InkDrop::CreateInkDropForSquareRipple(
InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus,
bool show_highlight_on_ripple) { … }
void InkDrop::UseInkDropForSquareRipple(InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus,
bool show_highlight_on_ripple) { … }
std::unique_ptr<InkDrop> InkDrop::CreateInkDropForFloodFillRipple(
InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus,
bool show_highlight_on_ripple) { … }
void InkDrop::UseInkDropForFloodFillRipple(InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus,
bool show_highlight_on_ripple) { … }
std::unique_ptr<InkDrop> InkDrop::CreateInkDropWithoutAutoHighlight(
InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus) { … }
void InkDrop::UseInkDropWithoutAutoHighlight(InkDropHost* host,
bool highlight_on_hover,
bool highlight_on_focus) { … }
void InkDrop::AddObserver(InkDropObserver* observer) { … }
void InkDrop::RemoveObserver(InkDropObserver* observer) { … }
InkDrop::InkDrop() = default;
void InkDrop::NotifyInkDropAnimationStarted() { … }
void InkDrop::NotifyInkDropRippleAnimationEnded(InkDropState ink_drop_state) { … }
InkDropContainerView::InkDropContainerView() { … }
InkDropContainerView::~InkDropContainerView() = default;
bool InkDropContainerView::GetAutoMatchParentBounds() const { … }
void InkDropContainerView::SetAutoMatchParentBounds(
bool auto_match_parent_bounds) { … }
void InkDropContainerView::ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) { … }
void InkDropContainerView::OnViewBoundsChanged(View* observed_view) { … }
BEGIN_METADATA(…)
}