Remove unused ButtonListener

This commit is contained in:
Kevin Sawicki 2016-10-03 10:26:18 -07:00
parent 11684c2c73
commit 9cae04edde
4 changed files with 3 additions and 14 deletions

View file

@ -63,8 +63,7 @@ void MenuBar::SetMenu(AtomMenuModel* model) {
RemoveAllChildViews(true);
for (int i = 0; i < model->GetItemCount(); ++i) {
SubmenuButton* button = new SubmenuButton(this,
model->GetLabelAt(i),
SubmenuButton* button = new SubmenuButton(model->GetLabelAt(i),
this,
background_color_);
button->set_tag(i);
@ -134,9 +133,6 @@ const char* MenuBar::GetClassName() const {
return kViewClassName;
}
void MenuBar::ButtonPressed(views::Button* sender, const ui::Event& event) {
}
void MenuBar::OnMenuButtonClicked(views::MenuButton* source,
const gfx::Point& point,
const ui::Event* event) {