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

Issue 10909236: Add support for favicon scale factor in WebUI (Closed)

Created:
8 years, 3 months ago by kevers
Modified:
8 years, 3 months ago
Reviewers:
pkotwicz, Evan Stade
CC:
chromium-reviews, sreeram, gideonwald, dominich, David Black, Jered, Shishir, pkotwicz, newt (away)
Visibility:
Public.

Description

Add support for favicon scale factor. BUG=147750 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157622

Patch Set 1 #

Patch Set 2 : Remove unused import. #

Patch Set 3 : Update WebUI to use high DPI favicons. #

Patch Set 4 : Use high-DPI icons for search engine dialog. #

Total comments: 16

Patch Set 5 : Add utility for generating favicon url. Remove request map. #

Total comments: 2

Patch Set 6 : Address nit. #

Patch Set 7 : Fix HandleGetFaviconDominantColor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -45 lines) Patch
M chrome/browser/resources/bookmark_manager/js/bmm/bookmark_list.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/history/history.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/ntp4/most_visited_page.css View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/most_visited_page.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options_startup_page_list.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/search_engine_manager.css View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/search_engine_manager_engine_list.js View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/resources/shared/js/util.js View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.h View 1 2 3 4 2 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.cc View 1 2 3 4 4 chunks +46 lines, -27 lines 0 comments Download
M chrome/browser/ui/webui/ntp/favicon_webui_handler.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kevers
Hi Peter, PTAL.
8 years, 3 months ago (2012-09-17 17:44:29 UTC) #1
pkotwicz
LGTM with nits http://codereview.chromium.org/10909236/diff/6001/chrome/browser/ui/webui/favicon_source.cc File chrome/browser/ui/webui/favicon_source.cc (right): http://codereview.chromium.org/10909236/diff/6001/chrome/browser/ui/webui/favicon_source.cc#newcode59 chrome/browser/ui/webui/favicon_source.cc:59: path.substr(0, 8) == "iconurl@")) { Can ...
8 years, 3 months ago (2012-09-17 19:32:06 UTC) #2
kevers
https://codereview.chromium.org/10909236/diff/6001/chrome/browser/ui/webui/favicon_source.cc File chrome/browser/ui/webui/favicon_source.cc (right): https://codereview.chromium.org/10909236/diff/6001/chrome/browser/ui/webui/favicon_source.cc#newcode59 chrome/browser/ui/webui/favicon_source.cc:59: path.substr(0, 8) == "iconurl@")) { On 2012/09/17 19:32:06, pkotwicz ...
8 years, 3 months ago (2012-09-17 21:13:02 UTC) #3
kevers
Hi Evan, Can you please take a look at this CL.
8 years, 3 months ago (2012-09-18 12:39:24 UTC) #4
Evan Stade
https://codereview.chromium.org/10909236/diff/6001/chrome/browser/resources/history/history.js File chrome/browser/resources/history/history.js (right): https://codereview.chromium.org/10909236/diff/6001/chrome/browser/resources/history/history.js#newcode223 chrome/browser/resources/history/history.js:223: 'url(chrome://favicon/size/16@' + window.devicePixelRatio + 'x/' + could you put ...
8 years, 3 months ago (2012-09-18 13:54:05 UTC) #5
kevers
http://codereview.chromium.org/10909236/diff/6001/chrome/browser/resources/history/history.js File chrome/browser/resources/history/history.js (right): http://codereview.chromium.org/10909236/diff/6001/chrome/browser/resources/history/history.js#newcode223 chrome/browser/resources/history/history.js:223: 'url(chrome://favicon/size/16@' + window.devicePixelRatio + 'x/' + On 2012/09/18 13:54:05, ...
8 years, 3 months ago (2012-09-18 17:31:03 UTC) #6
Evan Stade
thanks, lgtm http://codereview.chromium.org/10909236/diff/13001/chrome/browser/resources/shared/js/util.js File chrome/browser/resources/shared/js/util.js (right): http://codereview.chromium.org/10909236/diff/13001/chrome/browser/resources/shared/js/util.js#newcode237 chrome/browser/resources/shared/js/util.js:237: var size = opt_size ? opt_size : ...
8 years, 3 months ago (2012-09-19 12:59:39 UTC) #7
kevers
http://codereview.chromium.org/10909236/diff/13001/chrome/browser/resources/shared/js/util.js File chrome/browser/resources/shared/js/util.js (right): http://codereview.chromium.org/10909236/diff/13001/chrome/browser/resources/shared/js/util.js#newcode237 chrome/browser/resources/shared/js/util.js:237: var size = opt_size ? opt_size : 16; On ...
8 years, 3 months ago (2012-09-19 13:36:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/10909236/19001
8 years, 3 months ago (2012-09-19 13:55:10 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 3 months ago (2012-09-19 14:47:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/10909236/17003
8 years, 3 months ago (2012-09-19 20:10:33 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-19 22:11:17 UTC) #12
Change committed as 157622

Powered by Google App Engine
This is Rietveld 408576698