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

Unified Diff: ash/focus_cycler.cc

Issue 10446010: wip: Add ui::EventType parameter. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wip - views_unittests Created 8 years, 7 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 | « ash/accelerators/nested_dispatcher_controller_unittest.cc ('k') | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/focus_cycler.cc
diff --git a/ash/focus_cycler.cc b/ash/focus_cycler.cc
index f0854c0b1829a360aac1b25c7bb4372aae011472..e99a10da639550efd88c1653e993f7f70f554061 100644
--- a/ash/focus_cycler.cc
+++ b/ash/focus_cycler.cc
@@ -27,11 +27,11 @@ void FocusCycler::AddWidget(views::Widget* widget) {
widgets_.push_back(widget);
widget->GetFocusManager()->RegisterAccelerator(
- ui::Accelerator(ui::VKEY_F2, ui::EF_CONTROL_DOWN),
+ ui::Accelerator(ui::VKEY_F2, ui::EF_CONTROL_DOWN, ui::ET_KEY_PRESSED),
ui::AcceleratorManager::kNormalPriority,
this);
widget->GetFocusManager()->RegisterAccelerator(
- ui::Accelerator(ui::VKEY_F1, ui::EF_CONTROL_DOWN),
+ ui::Accelerator(ui::VKEY_F1, ui::EF_CONTROL_DOWN, ui::ET_KEY_PRESSED),
ui::AcceleratorManager::kNormalPriority,
this);
}
« no previous file with comments | « ash/accelerators/nested_dispatcher_controller_unittest.cc ('k') | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698