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

Issue 15747009: Use window singleton API in the App Developer Tool and simplify the code. (Closed)

Created:
7 years, 7 months ago by dvh
Modified:
7 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@devtools-style-2
Visibility:
Public.

Description

Use window singleton API in the App Developer Tool and simplify the code. BUG=242989 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202839

Patch Set 1 #

Total comments: 1

Patch Set 2 : apps_debugger -> apps_devtool #

Total comments: 3

Patch Set 3 : Added singleton property explicitely. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M chrome/browser/resources/apps_debugger/background.js View 1 2 1 chunk +8 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dvh
PTAL.
7 years, 7 months ago (2013-05-23 02:51:56 UTC) #1
Gaurav
https://codereview.chromium.org/15747009/diff/1/chrome/browser/resources/apps_debugger/background.js File chrome/browser/resources/apps_debugger/background.js (right): https://codereview.chromium.org/15747009/diff/1/chrome/browser/resources/apps_debugger/background.js#newcode8 chrome/browser/resources/apps_debugger/background.js:8: id: 'apps_debugger', Please rename this to apps_devtool.
7 years, 7 months ago (2013-05-23 17:15:26 UTC) #2
dvh
7 years, 7 months ago (2013-05-23 18:18:27 UTC) #3
Dan Beam
I don't see your use of a new API, am I missing something? https://codereview.chromium.org/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js File ...
7 years, 7 months ago (2013-05-23 19:58:42 UTC) #4
dvh
On 2013/05/23 19:58:42, Dan Beam wrote: > I don't see your use of a new ...
7 years, 7 months ago (2013-05-23 20:11:03 UTC) #5
Dan Beam
https://codereview.chromium.org/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js File chrome/browser/resources/apps_debugger/background.js (right): https://codereview.chromium.org/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js#newcode12 chrome/browser/resources/apps_debugger/background.js:12: width: 800, where's singleton: true, ?
7 years, 7 months ago (2013-05-23 20:12:38 UTC) #6
dvh
Thanks for noticing. I forgot that. Though, the default value of singleton is true. That ...
7 years, 7 months ago (2013-05-23 20:15:30 UTC) #7
Gaurav
https://chromiumcodereview.appspot.com/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js File chrome/browser/resources/apps_debugger/background.js (right): https://chromiumcodereview.appspot.com/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js#newcode12 chrome/browser/resources/apps_debugger/background.js:12: width: 800, I think it will be good to ...
7 years, 7 months ago (2013-05-23 20:23:59 UTC) #8
dvh
On 2013/05/23 20:23:59, Gaurav wrote: > https://chromiumcodereview.appspot.com/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js > File chrome/browser/resources/apps_debugger/background.js (right): > > https://chromiumcodereview.appspot.com/15747009/diff/5001/chrome/browser/resources/apps_debugger/background.js#newcode12 > ...
7 years, 7 months ago (2013-05-23 20:42:41 UTC) #9
Dan Beam
lgtm
7 years, 7 months ago (2013-05-23 21:06:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/15747009/12001
7 years, 7 months ago (2013-05-23 21:08:38 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/apps_debugger/background.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-23 21:08:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/15747009/12001
7 years, 6 months ago (2013-05-29 03:06:25 UTC) #13
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 11:28:20 UTC) #14
Message was sent while issue was closed.
Change committed as 202839

Powered by Google App Engine
This is Rietveld 408576698