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

Unified Diff: ui/views/views_delegate.h

Issue 1138523006: Enable keyboard accelerators while a menu is open (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments 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
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index e2f33b05caa5e032b7575788c8e6b364d7b61e6d..081c32fc26a992017b5a9433077e3c58c6f2a130 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -102,6 +102,10 @@ class VIEWS_EXPORT ViewsDelegate {
int item_count,
bool has_submenu);
+ // Will perform accelerator handling when for accelerators pressed while a
sky 2015/09/09 00:01:59 I think you mean: Invoked when an accelerator is p
afakhry 2015/09/09 02:31:34 Done for the comment. The implementation in Chrome
+ // menu is open.
+ virtual void HandleKeyEventOnMenu(ui::KeyEvent* event);
+
#if defined(OS_WIN)
// Retrieves the default window icon to use for windows if none is specified.
virtual HICON GetDefaultWindowIcon() const;

Powered by Google App Engine
This is Rietveld 408576698