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

Issue 924063003: [Favicon] Adding FallbackIconUrlParser. (Closed)

Created:
5 years, 10 months ago by huangs
Modified:
5 years, 9 months ago
CC:
chromium-reviews, James Hawkins
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Favicon] Adding FallbackIconUrlParser. Design: go/chrome-fallback-icons This adds FallbackIconUrlParser, which will be used to parse the "explict flow" host chrome://fallback-icon/ to extract size, FallbackIconStyle, and URL needed to render Fallback icons. This CL is sliced off from https://codereview.chromium.org/835903005/ . BUG=455063 Committed: https://crrev.com/c32b1cd854552259473c954c9204fe87426e540a Cr-Commit-Position: refs/heads/master@{#318771}

Patch Set 1 #

Patch Set 2 : Fix unsigned int compare issue in test. #

Total comments: 13

Patch Set 3 : Refactor; now using Skia's color parser. #

Total comments: 6

Patch Set 4 : Fix spacing and comments. #

Patch Set 5 : Sync. #

Patch Set 6 : Trying to fix dependency issues involving gn. #

Patch Set 7 : Sync. #

Patch Set 8 : Sync, to include the fix from https://codereview.chromium.org/971623003 . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -7 lines) Patch
M chrome/chrome_common.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/favicon/fallback_icon_url_parser.h View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/common/favicon/fallback_icon_url_parser.cc View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/common/favicon/fallback_icon_url_parser_unittest.cc View 1 2 1 chunk +267 lines, -0 lines 0 comments Download
M skia/BUILD.gn View 1 2 3 4 5 6 3 chunks +0 lines, -4 lines 0 comments Download
M skia/skia_library.gypi View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
huangs
This was sliced off bigger CL per request 2 weeks ago. PTAL.
5 years, 10 months ago (2015-02-13 21:42:03 UTC) #2
huangs
Ping jhawkins@.
5 years, 10 months ago (2015-02-16 17:19:09 UTC) #3
huangs
Changing reviewer to cpu@, PTAL. Thanks!
5 years, 10 months ago (2015-02-17 15:24:53 UTC) #5
huangs
Didn't know Monday was US holiday as well. Setting reviewer back to jhawkins@. PTAL.
5 years, 10 months ago (2015-02-17 15:34:57 UTC) #7
James Hawkins
On 2015/02/17 15:34:57, huangs wrote: > Didn't know Monday was US holiday as well. Setting ...
5 years, 10 months ago (2015-02-18 18:03:41 UTC) #8
huangs
Thanks for the update! Bugging cpu@ for this then. PTAL.
5 years, 10 months ago (2015-02-18 18:07:06 UTC) #10
cpu_(ooo_6.6-7.5)
some comments for starters. https://codereview.chromium.org/924063003/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): https://codereview.chromium.org/924063003/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc#newcode23 chrome/common/favicon/fallback_icon_url_parser.cc:23: } We don't have such ...
5 years, 10 months ago (2015-02-19 03:49:19 UTC) #11
huangs
Thanks! My internet is not working well Wednesday and Thursday (OOO) to implement this, but ...
5 years, 10 months ago (2015-02-19 05:54:05 UTC) #12
huangs
Ugh, forgot to send out the planned changes. Implementing these soon. https://codereview.chromium.org/924063003/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): ...
5 years, 10 months ago (2015-02-20 16:06:45 UTC) #13
huangs
+sugoi@ for OWNER review of Skia changes. I'm using Skia's color parser, so they should ...
5 years, 10 months ago (2015-02-20 20:39:32 UTC) #14
huangs
Oops forgot to add sugoi@ for OWN review of Skia build files. Also pinging cpu@ ...
5 years, 10 months ago (2015-02-23 18:30:19 UTC) #16
sugoi1
On 2015/02/23 18:30:19, huangs wrote: > Oops forgot to add sugoi@ for OWN review of ...
5 years, 10 months ago (2015-02-23 19:00:51 UTC) #17
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/924063003/diff/40001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): https://codereview.chromium.org/924063003/diff/40001/chrome/common/favicon/fallback_icon_url_parser.cc#newcode16 chrome/common/favicon/fallback_icon_url_parser.cc:16: : size_in_pixels_(gfx::kFaviconSize) { I think indentation here is 4 ...
5 years, 10 months ago (2015-02-24 18:42:22 UTC) #18
huangs
Updated, PTAL (sorry presubmit was slow). https://codereview.chromium.org/924063003/diff/40001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): https://codereview.chromium.org/924063003/diff/40001/chrome/common/favicon/fallback_icon_url_parser.cc#newcode16 chrome/common/favicon/fallback_icon_url_parser.cc:16: : size_in_pixels_(gfx::kFaviconSize) { ...
5 years, 10 months ago (2015-02-24 19:30:33 UTC) #19
cpu_(ooo_6.6-7.5)
lgtm
5 years, 10 months ago (2015-02-24 20:27:18 UTC) #20
huangs
On 2015/02/24 20:27:18, cpu wrote: > lgtm Thanks! Submitting.
5 years, 10 months ago (2015-02-24 20:29:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924063003/60001
5 years, 10 months ago (2015-02-24 20:31:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/27039)
5 years, 10 months ago (2015-02-24 22:13:30 UTC) #26
huangs
Was busy last few days dealing with unrelated IME blocking issue. Just determined cause of ...
5 years, 9 months ago (2015-03-01 22:54:28 UTC) #27
huangs
May as well make it same CL, good for context as well.
5 years, 9 months ago (2015-03-01 23:01:56 UTC) #28
huangs
Not sure that's even possible. Created https://codereview.chromium.org/971623003 .
5 years, 9 months ago (2015-03-01 23:08:03 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924063003/140001
5 years, 9 months ago (2015-03-02 20:01:52 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 9 months ago (2015-03-02 21:52:09 UTC) #33
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 21:52:44 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c32b1cd854552259473c954c9204fe87426e540a
Cr-Commit-Position: refs/heads/master@{#318771}

Powered by Google App Engine
This is Rietveld 408576698