Index: ui/views/focus/focus_manager.cc |
=================================================================== |
--- ui/views/focus/focus_manager.cc (revision 140271) |
+++ ui/views/focus/focus_manager.cc (working copy) |
@@ -21,6 +21,8 @@ |
namespace views { |
+bool FocusManager::shortcut_handling_suspended_ = false; |
+ |
FocusManager::FocusManager(Widget* widget, FocusManagerDelegate* delegate) |
: widget_(widget), |
delegate_(delegate), |
@@ -76,6 +78,9 @@ |
return false; |
#endif |
+ if (shortcut_handling_suspended()) |
+ return true; |
+ |
int modifiers = ui::EF_NONE; |
if (event.IsShiftDown()) |
modifiers |= ui::EF_SHIFT_DOWN; |