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

Issue 10789026: Add browserAction.enable/disable as alias for pageAction.show/hide. (Closed)

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

Description

Add browserAction.enable/disable as alias for pageAction.show/hide. Depends on http://codereview.chromium.org/10700007/ BUG=133094 TEST=Use browserAction.disable/enable(tabid), observe that the browser action becomes grayed out. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148043

Patch Set 1 #

Total comments: 2

Patch Set 2 : optional tabid #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -18 lines) Patch
M chrome/browser/extensions/api/extension_action/extension_actions_api.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_browser_actions_api.h View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_registry.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/browser_action.json View 1 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/apps/experimental.socket.html View 1 2 6 chunks +6 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/extensions/browserAction.html View 1 2 chunks +92 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/extensions/debugger.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/extensions/experimental.socket.html View 1 2 6 chunks +6 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yoyo Zhou
P.S. Not sure why there are a bunch of unrelated docs changes; someone hasn't been ...
8 years, 5 months ago (2012-07-17 00:01:46 UTC) #1
not at google - send to devlin
The tab ID in the methods *should* probably be optional; it's consistent with the rest ...
8 years, 5 months ago (2012-07-17 13:18:02 UTC) #2
Yoyo Zhou
I made the tabid argument optional. Turns out it only required a small change to ...
8 years, 5 months ago (2012-07-20 21:23:41 UTC) #3
not at google - send to devlin
lgtm but you might want to change that tabId thing. +jyasskin about that. http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json File ...
8 years, 5 months ago (2012-07-23 11:07:47 UTC) #4
Yoyo Zhou
http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json File chrome/common/extensions/api/browser_action.json (right): http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json#newcode271 chrome/common/extensions/api/browser_action.json:271: "name": "tabId", On 2012/07/23 11:07:48, kalman wrote: > Sorry ...
8 years, 5 months ago (2012-07-23 14:25:16 UTC) #5
not at google - send to devlin
Cool http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json File chrome/common/extensions/api/browser_action.json (right): http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json#newcode271 chrome/common/extensions/api/browser_action.json:271: "name": "tabId", On 2012/07/23 14:25:16, Yoyo Zhou wrote: ...
8 years, 5 months ago (2012-07-23 14:27:13 UTC) #6
Jeffrey Yasskin
http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json File chrome/common/extensions/api/browser_action.json (right): http://codereview.chromium.org/10789026/diff/5001/chrome/common/extensions/api/browser_action.json#newcode271 chrome/common/extensions/api/browser_action.json:271: "name": "tabId", On 2012/07/23 11:07:48, kalman wrote: > Sorry ...
8 years, 5 months ago (2012-07-23 17:00:02 UTC) #7
Yoyo Zhou
Is there really a scriptBadge.show? I don't see one in the json spec, and I ...
8 years, 5 months ago (2012-07-23 23:11:12 UTC) #8
Jeffrey Yasskin
On Mon, Jul 23, 2012 at 4:11 PM, <yoz@chromium.org> wrote: > Is there really a ...
8 years, 5 months ago (2012-07-24 00:00:20 UTC) #9
Yoyo Zhou
I've decided to just leave it as is. No details, just the integer tabId argument.
8 years, 5 months ago (2012-07-24 01:21:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/10789026/7008
8 years, 5 months ago (2012-07-24 01:23:14 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 03:42:26 UTC) #12
Change committed as 148043

Powered by Google App Engine
This is Rietveld 408576698