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

Issue 10701005: Extension Commands changed by the user now take effect immediately. (Closed)

Created:
8 years, 5 months ago by Finnur
Modified:
8 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Extension Commands changed by the user now take effect immediately. This applies to Named commands on both Linux and Windows and Browser Actions on Windows. Browser Actions on Linux will be a separate changelist. BUG=121420 TEST=Change a shortcut for an extension command (see platforms above) and make sure it takes effect as soon as the keystroke is captured. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=144897

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Messages

Total messages: 7 (0 generated)
Finnur
8 years, 5 months ago (2012-06-28 16:05:14 UTC) #1
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/10701005/diff/9002/chrome/browser/extensions/extension_keybinding_registry.cc File chrome/browser/extensions/extension_keybinding_registry.cc (right): https://chromiumcodereview.appspot.com/10701005/diff/9002/chrome/browser/extensions/extension_keybinding_registry.cc#newcode75 chrome/browser/extensions/extension_keybinding_registry.cc:75: return; ShouldIgnoreCommand could go here instead of in ...
8 years, 5 months ago (2012-06-28 22:40:51 UTC) #2
Finnur
https://chromiumcodereview.appspot.com/10701005/diff/9002/chrome/browser/extensions/extension_keybinding_registry.cc File chrome/browser/extensions/extension_keybinding_registry.cc (right): https://chromiumcodereview.appspot.com/10701005/diff/9002/chrome/browser/extensions/extension_keybinding_registry.cc#newcode75 chrome/browser/extensions/extension_keybinding_registry.cc:75: return; > But it seems like it's missing from ...
8 years, 5 months ago (2012-06-28 22:49:01 UTC) #3
Finnur
Scott, can you give OWNERS LG for ui? Evan, can you give OWNERS LG for ...
8 years, 5 months ago (2012-06-29 11:51:31 UTC) #4
Finnur
Actually, Scott is OOO. Ben, can you LG for OWNERS in ui/?
8 years, 5 months ago (2012-06-29 13:46:54 UTC) #5
Ben Goodger (Google)
browser/ui lgtm
8 years, 5 months ago (2012-06-29 16:17:07 UTC) #6
Evan Stade
8 years, 5 months ago (2012-06-29 18:39:07 UTC) #7
http://codereview.chromium.org/10701005/diff/9002/chrome/browser/ui/gtk/exten...
File chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc
(right):

http://codereview.chromium.org/10701005/diff/9002/chrome/browser/ui/gtk/exten...
chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc:69:
extensions::CommandMap::const_iterator iter = commands.begin();
this should be inside the for statement

http://codereview.chromium.org/10701005/diff/9002/chrome/browser/ui/gtk/exten...
chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc:132:
(!command_name.empty() && (iter->second.second != command_name))) {
don't need these parens around the != clause

Powered by Google App Engine
This is Rietveld 408576698