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

Issue 490133002: Fixed Screenshot extension example (Closed)

Created:
6 years, 4 months ago by fbeaufortchromium
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixed Screenshot extension example BUG= Committed: https://crrev.com/29cb00fdc723f85c108cc9cdf3c66c98332ee009 Cr-Commit-Position: refs/heads/master@{#291874}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Readded the onUpdated dance #

Total comments: 5

Patch Set 3 : Removed listener variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -42 lines) Patch
M chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js View 1 2 1 chunk +30 lines, -38 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/tabs/screenshot/manifest.json View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
François Beaufort
Since `captureVisibleTab` now requires <all_urls>, I've updated the Screenshot Extension sample to use activeTab to ...
6 years, 4 months ago (2014-08-21 08:33:47 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/490133002/diff/1/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js File chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js (right): https://codereview.chromium.org/490133002/diff/1/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js#newcode19 chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js:19: chrome.tabs.create({url: viewTabUrl}, function() { You still do need to ...
6 years, 4 months ago (2014-08-21 15:00:51 UTC) #2
François Beaufort
On 2014/08/21 15:00:51, kalman wrote: > https://codereview.chromium.org/490133002/diff/1/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js > File chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js > (right): > > https://codereview.chromium.org/490133002/diff/1/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js#newcode19 ...
6 years, 4 months ago (2014-08-22 12:03:32 UTC) #3
not at google - send to devlin
LGTM with a couple of cleanup suggestions. These comments could just as well apply to ...
6 years, 4 months ago (2014-08-22 14:20:51 UTC) #4
François Beaufort
https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js File chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js (right): https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js#newcode46 chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js:46: chrome.tabs.onUpdated.addListener(addSnapshotImageToTab); On 2014/08/22 14:20:51, kalman wrote: > Feel free ...
6 years, 4 months ago (2014-08-25 07:35:58 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js File chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js (right): https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js#newcode47 chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js:47: chrome.tabs.create({url: viewTabUrl}, function(tab) { On 2014/08/25 07:35:57, François Beaufort ...
6 years, 4 months ago (2014-08-25 16:32:06 UTC) #6
François Beaufort
On 2014/08/25 16:32:06, kalman wrote: > https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js > File chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js > (right): > > https://codereview.chromium.org/490133002/diff/20001/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js#newcode47 ...
6 years, 4 months ago (2014-08-26 06:56:33 UTC) #7
fbeaufortchromium
The CQ bit was checked by fbeaufort@chromium.org
6 years, 4 months ago (2014-08-26 06:57:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fbeaufort@chromium.org/490133002/40001
6 years, 4 months ago (2014-08-26 06:59:17 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (40001) as 127547c2490ae93dfba41e3801a82b2a8ff787e3
6 years, 3 months ago (2014-08-26 09:37:23 UTC) #10
not at google - send to devlin
> Do you mind sharing why this happens? I think - when the callback returns, ...
6 years, 3 months ago (2014-08-26 19:40:12 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:41:42 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/29cb00fdc723f85c108cc9cdf3c66c98332ee009
Cr-Commit-Position: refs/heads/master@{#291874}

Powered by Google App Engine
This is Rietveld 408576698