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

Issue 20728002: Fix issue: icons for the apps are flickering while launching. (Closed)

Created:
7 years, 5 months ago by zhchbin
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix issue: icons for the apps are flickering while launching. The bug is introduced by the crrev.com/18369003, which fix issue 159302. BUG=264645, 159302 TEST=When launching the unpacked app, the icons of the others shouldn't flicker. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215244

Patch Set 1 #

Patch Set 2 : Nit fix. #

Total comments: 3

Patch Set 3 : Polish as comments. #

Total comments: 6

Patch Set 4 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M chrome/browser/resources/extensions/extension_list.js View 1 2 3 3 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
zhchbin
Please review.
7 years, 5 months ago (2013-07-26 13:07:49 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js#newcode197 chrome/browser/resources/extensions/extension_list.js:197: new Date().getTime(); if the icon changes will this assignment ...
7 years, 5 months ago (2013-07-26 16:48:07 UTC) #2
zhchbin
On 2013/07/26 16:48:07, kalman wrote: > https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js > File chrome/browser/resources/extensions/extension_list.js (right): > > https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js#newcode197 > ...
7 years, 4 months ago (2013-07-27 00:15:34 UTC) #3
zhchbin
https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js#newcode197 chrome/browser/resources/extensions/extension_list.js:197: new Date().getTime(); On 2013/07/26 16:48:07, kalman wrote: > if ...
7 years, 4 months ago (2013-07-29 15:43:58 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js#newcode197 chrome/browser/resources/extensions/extension_list.js:197: new Date().getTime(); On 2013/07/29 15:43:59, zhchbin wrote: > On ...
7 years, 4 months ago (2013-07-29 17:26:24 UTC) #5
zhchbin
On 2013/07/29 17:26:24, kalman wrote: > https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js > File chrome/browser/resources/extensions/extension_list.js (right): > > https://codereview.chromium.org/20728002/diff/3001/chrome/browser/resources/extensions/extension_list.js#newcode197 > ...
7 years, 4 months ago (2013-07-30 00:45:55 UTC) #6
not at google - send to devlin
icon.url is literally chrome://extension-icon/omdkgkgnnakfiojpcjdobjgdlpimkcbp/48/1? This would all be moot if we were caching the random ...
7 years, 4 months ago (2013-07-30 01:53:40 UTC) #7
zhchbin
On 2013/07/30 01:53:40, kalman wrote: > icon.url is literally > chrome://extension-icon/omdkgkgnnakfiojpcjdobjgdlpimkcbp/48/1? > > This would ...
7 years, 4 months ago (2013-07-30 02:01:19 UTC) #8
not at google - send to devlin
On 2013/07/30 02:01:19, zhchbin wrote: > On 2013/07/30 01:53:40, kalman wrote: > > icon.url is ...
7 years, 4 months ago (2013-07-30 02:10:13 UTC) #9
zhchbin
On 2013/07/30 02:10:13, kalman wrote: > On 2013/07/30 02:01:19, zhchbin wrote: > > On 2013/07/30 ...
7 years, 4 months ago (2013-07-30 02:28:00 UTC) #10
dhnishi (use Chromium)
On 2013/07/30 02:28:00, zhchbin wrote: > On 2013/07/30 02:10:13, kalman wrote: > > On 2013/07/30 ...
7 years, 4 months ago (2013-07-30 16:30:48 UTC) #11
not at google - send to devlin
dnishi - good catch. That code looks suspicious to me, and not just because it's ...
7 years, 4 months ago (2013-07-30 17:29:17 UTC) #12
dhnishi (use Chromium)
@kalman It does look like it is a combination of RenderViewCreated and NOTIFICATION_EXTENSION_HOST_CREATED causing refreshes ...
7 years, 4 months ago (2013-07-30 17:56:55 UTC) #13
zhchbin
> I think I'm ok with this hack, as long as it's well documented. As ...
7 years, 4 months ago (2013-08-01 03:17:52 UTC) #14
not at google - send to devlin
lgtm https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js#newcode108 chrome/browser/resources/extensions/extension_list.js:108: if (extensionReloadedTimestamp[extension.id]) { reference bug number(s) in a ...
7 years, 4 months ago (2013-08-01 15:22:01 UTC) #15
dhnishi (use Chromium)
lgtm
7 years, 4 months ago (2013-08-01 16:15:08 UTC) #16
dhnishi (use Chromium)
https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js#newcode196 chrome/browser/resources/extensions/extension_list.js:196: extensionReloadedTimestamp[extension.id] = new Date().getTime(); Actually, I just had a ...
7 years, 4 months ago (2013-08-01 18:30:18 UTC) #17
not at google - send to devlin
https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js#newcode196 chrome/browser/resources/extensions/extension_list.js:196: extensionReloadedTimestamp[extension.id] = new Date().getTime(); On 2013/08/01 18:30:19, Daniel Nishi ...
7 years, 4 months ago (2013-08-01 18:46:18 UTC) #18
dhnishi (use Chromium)
On 2013/08/01 18:46:18, kalman wrote: > https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js > File chrome/browser/resources/extensions/extension_list.js (right): > > https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js#newcode196 > ...
7 years, 4 months ago (2013-08-01 18:49:59 UTC) #19
zhchbin
https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/20728002/diff/18001/chrome/browser/resources/extensions/extension_list.js#newcode108 chrome/browser/resources/extensions/extension_list.js:108: if (extensionReloadedTimestamp[extension.id]) { On 2013/08/01 15:22:01, kalman wrote: > ...
7 years, 4 months ago (2013-08-02 00:29:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhchbin@gmail.com/20728002/28001
7 years, 4 months ago (2013-08-02 00:31:12 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests, content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=65509
7 years, 4 months ago (2013-08-02 03:45:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhchbin@gmail.com/20728002/28001
7 years, 4 months ago (2013-08-02 04:36:29 UTC) #23
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 08:31:14 UTC) #24
Message was sent while issue was closed.
Change committed as 215244

Powered by Google App Engine
This is Rietveld 408576698