#include "chrome/browser/ui/views/toolbar/toolbar_ink_drop_util.h"
#include "base/functional/bind.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/color/chrome_color_provider_utils.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "components/user_education/common/user_education_class_properties.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/base/ui_base_features.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop.h"
#include "ui/views/animation/ink_drop_host.h"
#include "ui/views/animation/ink_drop_impl.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/highlight_path_generator.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
namespace {
class ToolbarButtonHighlightPathGenerator
: public views::HighlightPathGenerator { … };
}
gfx::Insets GetToolbarInkDropInsets(const views::View* host_view) { … }
SkColor GetToolbarInkDropBaseColor(const views::View* host_view) { … }
void ConfigureInkDropForToolbar(
views::Button* host,
std::unique_ptr<views::HighlightPathGenerator> highlight_generator) { … }
void ConfigureToolbarInkdropForRefresh2023(
views::View* const host,
const ChromeColorIds hover_color_id,
const ChromeColorIds ripple_color_id) { … }
void CreateToolbarInkdropCallbacks(views::View* const host,
const ChromeColorIds hover_color_id,
const ChromeColorIds ripple_color_id) { … }