chore: bump chromium to 93.0.4536.0 (main) (#29586)
* chore: bump chromium in DEPS to 93.0.4536.0 * chore: update patches * [2918475] Make InkDrop a View class property Refs:2918475
Replace old views::Button::ink_drop() calls with views::InkDrop::Get() * [2935942] Convert use of gfx::ImageSkia to ui::ImageModel for WidgetDelegates Refs:2935942
Update GetWindowIcon(), GetWindowAppIcon(), and GetDevToolsWindowIcon() to return ui::ImageModel instead of gfx::ImageSkia. Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
7b169c2884
commit
04679121d6
27 changed files with 61 additions and 60 deletions
|
@ -32,10 +32,11 @@ SubmenuButton::SubmenuButton(PressedCallback callback,
|
|||
gfx::Canvas::SizeStringInt(GetText(), gfx::FontList(), &text_width_,
|
||||
&text_height_, 0, 0);
|
||||
|
||||
ink_drop()->SetMode(views::InkDropHost::InkDropMode::ON);
|
||||
ink_drop()->SetBaseColor(
|
||||
views::InkDropHost* ink_drop = views::InkDrop::Get(this);
|
||||
ink_drop->SetMode(views::InkDropHost::InkDropMode::ON);
|
||||
ink_drop->SetBaseColor(
|
||||
color_utils::BlendTowardMaxContrast(background_color_, 0x81));
|
||||
views::InkDrop::UseInkDropForFloodFillRipple(ink_drop(), false, true);
|
||||
views::InkDrop::UseInkDropForFloodFillRipple(ink_drop, false, true);
|
||||
}
|
||||
|
||||
SubmenuButton::~SubmenuButton() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue