|
[Fallback Icons] Refactor FallbackIconService to be a BrowserContext-level singleton
- FallbackIconServiceFactory now get sFallbackIconService singleton from
BrowserContext.
- FallbackIconClient & ChromeFallbackIconClient: wrap external code so the Favicon
component won't have to include them. Specifically:
- Choosing fonts: also removed duplicate code.
- Extracting letter from URL to render Fallback.
BUG= 455063
Committed: https://crrev.com/f16444b34b44d6e9de555756e24017ff7670d73a
Cr-Commit-Position: refs/heads/master@{#322653}
Total comments: 5
Total comments: 16
Total comments: 14
Total comments: 16
Total comments: 20
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+324 lines, -149 lines) |
Patch |
 |
M |
chrome/browser/favicon/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/favicon/chrome_fallback_icon_client.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/favicon/chrome_fallback_icon_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/favicon/chrome_fallback_icon_client_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+21 lines, -22 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/favicon/chrome_fallback_icon_client_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/favicon/fallback_icon_service_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/favicon/fallback_icon_service_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_service_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/fallback_icon_source.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/fallback_icon_source.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+24 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/large_icon_source.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/large_icon_source.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+16 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/DEPS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
components/favicon/core/fallback_icon_client.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/fallback_icon_service.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/fallback_icon_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
Total messages: 43 (8 generated)
|