chore: bump chromium to adc5df74b86afdff676989ced8cd3 (master) (#26223)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: Jeremy Rose <jeremya@chromium.org> Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
parent
d6019634f9
commit
e017d8714e
95 changed files with 496 additions and 804 deletions
|
@ -305,8 +305,11 @@ void MenuBar::RebuildChildren() {
|
|||
RemoveAllChildViews(true);
|
||||
for (int i = 0, n = GetItemCount(); i < n; ++i) {
|
||||
auto* button =
|
||||
new SubmenuButton(this, menu_model_->GetLabelAt(i), background_color_);
|
||||
new SubmenuButton(menu_model_->GetLabelAt(i), background_color_);
|
||||
button->set_tag(i);
|
||||
button->SetCallback(base::BindRepeating(&MenuBar::ButtonPressed,
|
||||
base::Unretained(this),
|
||||
base::Unretained(button)));
|
||||
AddChildView(button);
|
||||
}
|
||||
UpdateViewColors();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue