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

Issue 388313002: mac: Allow WebContents key handling to supplant extension overrides of the bookmark shortcut. (Closed)

Created:
6 years, 5 months ago by erikchen
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

mac: Allow WebContents key handling to supplant extension overrides of the bookmark shortcut. Use the same prioritization for accelerator processing for the bookmark shortcut when overridden by an extension as for when it is built-in to the browser. Namely, allow WebContents key processing to take place before extension accelerator processing. This is the Mac version of the fix. Views was fixed at: https://codereview.chromium.org/360423002. BUG=389340 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283366

Patch Set 1 : Use priority system for extension handling. #

Total comments: 2

Patch Set 2 : Comment from wittman. #

Total comments: 14

Patch Set 3 : Comments from yoz and shess. #

Messages

Total messages: 12 (0 generated)
erikchen
wittman: Please review. I tried to write this CL in a way that was most ...
6 years, 5 months ago (2014-07-14 23:00:19 UTC) #1
Mike Wittman
Thanks Erik! https://codereview.chromium.org/388313002/diff/120001/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json File chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json (right): https://codereview.chromium.org/388313002/diff/120001/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json#newcode18 chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json:18: "mac": "Command+D" Is this necessary? The docs ...
6 years, 5 months ago (2014-07-15 00:20:38 UTC) #2
erikchen
wittman: PTAL https://codereview.chromium.org/388313002/diff/120001/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json File chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json (right): https://codereview.chromium.org/388313002/diff/120001/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json#newcode18 chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/manifest.json:18: "mac": "Command+D" On 2014/07/15 00:20:38, Mike Wittman ...
6 years, 5 months ago (2014-07-15 02:41:13 UTC) #3
Mike Wittman
lgtm
6 years, 5 months ago (2014-07-15 02:55:39 UTC) #4
erikchen
yoz: Looking for OWNER review of chrome/browser/extensions/ shess: Looking for OWNER review of chrome/browser/ui/cocoa/
6 years, 5 months ago (2014-07-15 17:11:23 UTC) #5
Scott Hess - ex-Googler
https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc File chrome/browser/extensions/extension_keybinding_apitest.cc (right): https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc#newcode357 chrome/browser/extensions/extension_keybinding_apitest.cc:357: #endif // defined(OS_MACOSX) AFAICT, these only differ on "Command+D" ...
6 years, 5 months ago (2014-07-15 19:20:59 UTC) #6
Yoyo Zhou
extensions LGTM https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc File chrome/browser/extensions/extension_keybinding_apitest.cc (right): https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc#newcode357 chrome/browser/extensions/extension_keybinding_apitest.cc:357: #endif // defined(OS_MACOSX) On 2014/07/15 19:20:59, Scott ...
6 years, 5 months ago (2014-07-15 19:46:38 UTC) #7
erikchen
shess: PTAL https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc File chrome/browser/extensions/extension_keybinding_apitest.cc (right): https://codereview.chromium.org/388313002/diff/140001/chrome/browser/extensions/extension_keybinding_apitest.cc#newcode357 chrome/browser/extensions/extension_keybinding_apitest.cc:357: #endif // defined(OS_MACOSX) On 2014/07/15 19:46:37, Yoyo ...
6 years, 5 months ago (2014-07-15 20:48:40 UTC) #8
Scott Hess - ex-Googler
lgtm https://codereview.chromium.org/388313002/diff/140001/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h File chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h (right): https://codereview.chromium.org/388313002/diff/140001/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h#newcode46 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h:46: (ui::AcceleratorManager::HandlerPriority)priority; On 2014/07/15 20:48:40, erikchen1 wrote: > On ...
6 years, 5 months ago (2014-07-15 21:30:44 UTC) #9
erikchen
The CQ bit was checked by erikchen@chromium.org
6 years, 5 months ago (2014-07-15 21:31:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikchen@chromium.org/388313002/160001
6 years, 5 months ago (2014-07-15 21:35:31 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 05:48:28 UTC) #12
Message was sent while issue was closed.
Change committed as 283366

Powered by Google App Engine
This is Rietveld 408576698