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 9167019: Consolidate icon loading on ChromeOS (Closed)

Created:
8 years, 11 months ago by asanka
Modified:
8 years, 10 months ago
Reviewers:
achuithb, ilja, Evan Stade
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Consolidate icon loading on ChromeOS. BUG=110919, 109677 TEST=unit_tests --gtest_filter=FileIconSourceTest.* && browser_tests --gtest_filter=DownloadExtensionTest.DownloadsApi_FileIcon_* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119935

Patch Set 1 #

Patch Set 2 : Consolidate icon loading on ChromeOS #

Patch Set 3 : " #

Patch Set 4 : Rebased #

Total comments: 4

Patch Set 5 : " #

Total comments: 9

Patch Set 6 : Address comments. Fix icon display in active_downloads. #

Patch Set 7 : More cleanup and encode single quote in active_downloads #

Patch Set 8 : Rebase #

Total comments: 2

Patch Set 9 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -353 lines) Patch
M chrome/browser/download/download_extension_test.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -18 lines 0 comments Download
A chrome/browser/icon_loader_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +207 lines, -0 lines 0 comments Download
A chrome/browser/icon_manager_chromeos.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/active_downloads.js View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/downloads.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/active_downloads_ui.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/downloads_dom_handler.cc View 1 2 3 4 5 3 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/fileicon_source.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/fileicon_source.cc View 1 2 3 4 5 6 3 chunks +73 lines, -20 lines 0 comments Download
D chrome/browser/ui/webui/fileicon_source_chromeos.h View 1 1 chunk +0 lines, -33 lines 0 comments Download
D chrome/browser/ui/webui/fileicon_source_chromeos.cc View 1 1 chunk +0 lines, -259 lines 0 comments Download
A chrome/browser/ui/webui/fileicon_source_unittest.cc View 1 2 3 4 5 6 1 chunk +98 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
achuithb
8 years, 11 months ago (2012-01-18 23:25:25 UTC) #1
ilja
In general it looks very good. Just two points: 1) CrOS doesn't really have 32x32 ...
8 years, 11 months ago (2012-01-22 02:31:43 UTC) #2
asanka
http://codereview.chromium.org/9167019/diff/13001/chrome/browser/icon_loader_chromeos.cc File chrome/browser/icon_loader_chromeos.cc (right): http://codereview.chromium.org/9167019/diff/13001/chrome/browser/icon_loader_chromeos.cc#newcode198 chrome/browser/icon_loader_chromeos.cc:198: case IconLoader::LARGE: // fallthrough On 2012/01/22 02:31:43, ilja wrote: ...
8 years, 11 months ago (2012-01-23 19:16:47 UTC) #3
asanka
Thanks for looking! On 2012/01/22 02:31:43, ilja wrote: > In general it looks very good. ...
8 years, 11 months ago (2012-01-23 19:21:17 UTC) #4
achuithb
Is this patch ready for review?
8 years, 11 months ago (2012-01-23 19:25:20 UTC) #5
asanka
On 2012/01/23 19:25:20, achuith.bhandarkar wrote: > Is this patch ready for review? Yes. PTAL.
8 years, 11 months ago (2012-01-23 19:51:16 UTC) #6
achuithb
On 2012/01/23 19:51:16, asanka wrote: > On 2012/01/23 19:25:20, achuith.bhandarkar wrote: > > Is this ...
8 years, 11 months ago (2012-01-23 20:37:23 UTC) #7
asanka
On 2012/01/23 20:37:23, achuith.bhandarkar wrote: > Should the BUG= line include 109677 as well? I ...
8 years, 11 months ago (2012-01-23 20:43:19 UTC) #8
achuithb
http://codereview.chromium.org/9167019/diff/21001/chrome/browser/icon_loader_chromeos.cc File chrome/browser/icon_loader_chromeos.cc (right): http://codereview.chromium.org/9167019/diff/21001/chrome/browser/icon_loader_chromeos.cc#newcode7 chrome/browser/icon_loader_chromeos.cc:7: #include <string> alphabetical order please http://codereview.chromium.org/9167019/diff/21001/chrome/browser/resources/downloads.js File chrome/browser/resources/downloads.js (right): ...
8 years, 11 months ago (2012-01-23 20:59:27 UTC) #9
achuithb
http://codereview.chromium.org/9167019/diff/21001/chrome/browser/resources/downloads.js File chrome/browser/resources/downloads.js (right): http://codereview.chromium.org/9167019/diff/21001/chrome/browser/resources/downloads.js#newcode398 chrome/browser/resources/downloads.js:398: encodeURIComponent(this.filePath_)); On 2012/01/23 20:59:27, achuith.bhandarkar wrote: > please make ...
8 years, 11 months ago (2012-01-23 21:01:10 UTC) #10
asanka
On 2012/01/23 21:01:10, achuith.bhandarkar wrote: > On 2012/01/23 20:59:27, achuith.bhandarkar wrote: > > please make ...
8 years, 11 months ago (2012-01-23 21:15:15 UTC) #11
achuithb
On 2012/01/23 21:15:15, asanka wrote: > On 2012/01/23 21:01:10, achuith.bhandarkar wrote: > > On 2012/01/23 ...
8 years, 11 months ago (2012-01-23 21:30:12 UTC) #12
achuithb
On 2012/01/23 21:30:12, achuith.bhandarkar wrote: > On 2012/01/23 21:15:15, asanka wrote: > > On 2012/01/23 ...
8 years, 11 months ago (2012-01-23 21:32:33 UTC) #13
asanka
I tested this on an Alex device. The code changed a bit in the meantime ...
8 years, 11 months ago (2012-01-26 00:49:34 UTC) #14
ilja
Thanks for testing on Alex! I can't judge the escaping changes, but the rest looks ...
8 years, 11 months ago (2012-01-26 01:34:42 UTC) #15
achuithb
lgtm
8 years, 11 months ago (2012-01-27 19:26:18 UTC) #16
asanka
Thanks guys! Evan: Adding you for OWNERS chrome/browser/ui/webui/ and chrome/browser/resources/. Can you take a look?
8 years, 11 months ago (2012-01-27 23:06:18 UTC) #17
Evan Stade
lgtm http://codereview.chromium.org/9167019/diff/39001/chrome/browser/ui/webui/fileicon_source.h File chrome/browser/ui/webui/fileicon_source.h (right): http://codereview.chromium.org/9167019/diff/39001/chrome/browser/ui/webui/fileicon_source.h#newcode44 chrome/browser/ui/webui/fileicon_source.h:44: // function is called to perform the actual ...
8 years, 10 months ago (2012-01-31 04:42:46 UTC) #18
asanka
Thanks! http://codereview.chromium.org/9167019/diff/39001/chrome/browser/ui/webui/fileicon_source.h File chrome/browser/ui/webui/fileicon_source.h (right): http://codereview.chromium.org/9167019/diff/39001/chrome/browser/ui/webui/fileicon_source.h#newcode44 chrome/browser/ui/webui/fileicon_source.h:44: // function is called to perform the actual ...
8 years, 10 months ago (2012-01-31 17:04:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/9167019/45001
8 years, 10 months ago (2012-01-31 17:56:32 UTC) #20
commit-bot: I haz the power
8 years, 10 months ago (2012-01-31 19:33:57 UTC) #21
Change committed as 119935

Powered by Google App Engine
This is Rietveld 408576698