chore: bump chromium to 92.0.4498.0 (master) (#28991)
This commit is contained in:
parent
2086e1903c
commit
9d9921b533
23 changed files with 75 additions and 121 deletions
|
@ -38,27 +38,11 @@ SubmenuButton::SubmenuButton(PressedCallback callback,
|
|||
SetInkDropMode(InkDropMode::ON);
|
||||
SetInkDropBaseColor(
|
||||
color_utils::BlendTowardMaxContrast(background_color_, 0x81));
|
||||
views::InkDrop::UseInkDropForFloodFillRipple(this, false, true);
|
||||
}
|
||||
|
||||
SubmenuButton::~SubmenuButton() = default;
|
||||
|
||||
std::unique_ptr<views::InkDropRipple> SubmenuButton::CreateInkDropRipple()
|
||||
const {
|
||||
std::unique_ptr<views::InkDropRipple> ripple(
|
||||
new views::FloodFillInkDropRipple(
|
||||
size(), GetInkDropCenterBasedOnLastEvent(), GetInkDropBaseColor(),
|
||||
GetInkDropVisibleOpacity()));
|
||||
return ripple;
|
||||
}
|
||||
|
||||
std::unique_ptr<views::InkDrop> SubmenuButton::CreateInkDrop() {
|
||||
std::unique_ptr<views::InkDropImpl> ink_drop =
|
||||
views::Button::CreateDefaultInkDropImpl();
|
||||
ink_drop->SetShowHighlightOnHover(false);
|
||||
ink_drop->SetShowHighlightOnFocus(true);
|
||||
return std::move(ink_drop);
|
||||
}
|
||||
|
||||
void SubmenuButton::SetAcceleratorVisibility(bool visible) {
|
||||
if (visible == show_underline_)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue