Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Unified Diff: ui/views/controls/menu/menu_scroll_view_container.cc

Issue 2418523004: Makes Chrome's app menu have a vertical orientation. (Closed)
Patch Set: Moved clarifying comments to a previous line. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win.cc ('k') | ui/views/controls/menu/submenu_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_scroll_view_container.cc
diff --git a/ui/views/controls/menu/menu_scroll_view_container.cc b/ui/views/controls/menu/menu_scroll_view_container.cc
index a126820718be5c63b9c5a5aadc83d15bd12064d6..0612dfff91a44aca7c3f9833e3190aa5470b487a 100644
--- a/ui/views/controls/menu/menu_scroll_view_container.cc
+++ b/ui/views/controls/menu/menu_scroll_view_container.cc
@@ -260,8 +260,6 @@ void MenuScrollViewContainer::GetAccessibleState(
ui::AXViewState* state) {
// Get the name from the submenu view.
content_view_->GetAccessibleState(state);
-
- // Now change the role.
state->role = ui::AX_ROLE_MENU_BAR;
}
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win.cc ('k') | ui/views/controls/menu/submenu_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698