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

Unified Diff: ui/views/views_delegate.cc

Issue 1138523006: Enable keyboard accelerators while a menu is open (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed OnTouchEvent() Created 5 years, 3 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/views/views_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.cc
diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc
index a676ae16610dc50286b5074f65c1c815ded22f6d..30d852527b93cd3f2d0abb714e527908641cc4ea 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -54,6 +54,12 @@ void ViewsDelegate::NotifyMenuItemFocused(const base::string16& menu_name,
bool has_submenu) {
}
+ViewsDelegate::ProcessMenuAcceleratorResult
+ViewsDelegate::ProcessAcceleratorWhileMenuShowing(
+ const ui::Accelerator& accelerator) {
+ return ProcessMenuAcceleratorResult::LEAVE_MENU_OPEN;
+}
+
#if defined(OS_WIN)
HICON ViewsDelegate::GetDefaultWindowIcon() const {
return nullptr;
« no previous file with comments | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698