chore: update GetLabelFrontList to be GetLabelStyle in menu model
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1186702
This commit is contained in:
parent
c51fef1568
commit
f8f091c250
2 changed files with 3 additions and 3 deletions
|
@ -70,8 +70,8 @@ base::string16 MenuDelegate::GetLabel(int id) const {
|
|||
return adapter_->GetLabel(id);
|
||||
}
|
||||
|
||||
const gfx::FontList* MenuDelegate::GetLabelFontList(int id) const {
|
||||
return adapter_->GetLabelFontList(id);
|
||||
void MenuDelegate::GetLabelStyle(int id, LabelStyle* style) const {
|
||||
return adapter_->GetLabelStyle(id, style);
|
||||
}
|
||||
|
||||
bool MenuDelegate::IsCommandEnabled(int id) const {
|
||||
|
|
|
@ -46,7 +46,7 @@ class MenuDelegate : public views::MenuDelegate {
|
|||
const ui::Event& e) override;
|
||||
bool GetAccelerator(int id, ui::Accelerator* accelerator) const override;
|
||||
base::string16 GetLabel(int id) const override;
|
||||
const gfx::FontList* GetLabelFontList(int id) const override;
|
||||
void GetLabelStyle(int id, LabelStyle* style) const override;
|
||||
bool IsCommandEnabled(int id) const override;
|
||||
bool IsCommandVisible(int id) const override;
|
||||
bool IsItemChecked(int id) const override;
|
||||
|
|
Loading…
Reference in a new issue