|
@@ -268,12 +268,6 @@ void MenuBar::OnMenuButtonClicked(views::Button* source,
|
|
|
if (!window_->HasFocus())
|
|
|
window_->RequestFocus();
|
|
|
|
|
|
- // This ensures that if you focus the menubar by clicking on an item, you can
|
|
|
- // still use the arrow keys to move around
|
|
|
- if (GetPaneFocusTraversable() == nullptr) {
|
|
|
- SetPaneFocus(source);
|
|
|
- }
|
|
|
-
|
|
|
int id = source->tag();
|
|
|
AtomMenuModel::ItemType type = menu_model_->GetTypeAt(id);
|
|
|
if (type != AtomMenuModel::TYPE_SUBMENU) {
|