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

Issue 12481004: Created a sample extension that shows off event pages, new tab apis, and keyboard shortcuts. (Closed)

Created:
7 years, 9 months ago by cduvall
Modified:
7 years, 9 months ago
Reviewers:
Mike West, Aaron Jacobs
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, samusaaron3_gmail.com
Visibility:
Public.

Description

Created a sample extension that shows off event pages, new tab apis, and keyboard shortcuts. The sample extension, 'Tab Shortcuts', uses the commands api to capture keypresses, and uses the tabs api to toggle the pinned state of the active tab or duplicate the current tab without the need of the tabs permission (using an event page). Patch from Aaron Jacobs <samusaaron3@gmail.com>; BUG=141865 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187728

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/howto/tab_shortcuts/manifest.json View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
cduvall
This is a patch from Aaron Jacobs, adding another sample extension.
7 years, 9 months ago (2013-03-05 21:36:14 UTC) #1
cduvall
cc'ing Aaron.
7 years, 9 months ago (2013-03-05 21:37:54 UTC) #2
Mike West
Thanks for this! One question about permissions, one nit. https://codereview.chromium.org/12481004/diff/1/chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js File chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js (right): https://codereview.chromium.org/12481004/diff/1/chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js#newcode12 chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js:12: ...
7 years, 9 months ago (2013-03-06 10:15:37 UTC) #3
Aaron Jacobs
https://codereview.chromium.org/12481004/diff/1/chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js File chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js (right): https://codereview.chromium.org/12481004/diff/1/chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js#newcode12 chrome/common/extensions/docs/examples/howto/tab_shortcuts/tab_shortcuts.js:12: chrome.tabs.update({}, function(tab) { On 2013/03/06 10:15:37, Mike West (chromium) ...
7 years, 9 months ago (2013-03-07 19:47:25 UTC) #4
Mike West
Thanks, LGTM. You should be able to click the "commit" button now to land this. ...
7 years, 9 months ago (2013-03-08 07:06:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/12481004/5001
7 years, 9 months ago (2013-03-12 19:54:38 UTC) #6
commit-bot: I haz the power
7 years, 9 months ago (2013-03-13 00:59:57 UTC) #7
Message was sent while issue was closed.
Change committed as 187728

Powered by Google App Engine
This is Rietveld 408576698