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

Unified Diff: ui/views/accessible_pane_view.cc

Issue 9402018: Experimental Extension Keybinding (first cut). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/accessible_pane_view.cc
===================================================================
--- ui/views/accessible_pane_view.cc (revision 122745)
+++ ui/views/accessible_pane_view.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -60,11 +60,11 @@
// Otherwise, set accelerators and start listening for focus change events.
pane_has_focus_ = true;
- focus_manager_->RegisterAccelerator(home_key_, this);
- focus_manager_->RegisterAccelerator(end_key_, this);
- focus_manager_->RegisterAccelerator(escape_key_, this);
- focus_manager_->RegisterAccelerator(left_key_, this);
- focus_manager_->RegisterAccelerator(right_key_, this);
+ focus_manager_->RegisterAccelerator(home_key_, false, this);
+ focus_manager_->RegisterAccelerator(end_key_, false, this);
+ focus_manager_->RegisterAccelerator(escape_key_, false, this);
+ focus_manager_->RegisterAccelerator(left_key_, false, this);
+ focus_manager_->RegisterAccelerator(right_key_, false, this);
focus_manager_->AddFocusChangeListener(this);
return true;

Powered by Google App Engine
This is Rietveld 408576698