|
|
Cleanup: Extract favicon related methods outside of util.js
util.js inevitably (because of its name) is becoming a dumping ground
for unrelated one-off helper methods.
Benefits of splitting:
- Usage of cr.icon namespace instead of polluting global namespace.
- cr.icon only exports public methods getProfileAvatarIcon and
getFaviconImageSet, remaining methods/vars are kept private.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/d376bdc646067976df6c24a879e6e1f46919793a
Cr-Commit-Position: refs/heads/master@{#392372}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+170 lines, -174 lines) |
Patch |
 |
M |
chrome/browser/resources/bookmark_manager/js/bmm/bookmark_list.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/bookmark_manager/js/compiled_resources.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/history/compiled_resources2.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/history/history.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/history/history.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/history/other_devices.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/md_history/compiled_resources2.gyp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/md_history/history_item.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/md_history/history_item.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/md_history/synced_device_card.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/md_history/synced_device_card.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/browser_options_profile_list.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/browser_options_startup_page_list.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/compiled_resources.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/home_page_overlay.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/manage_profile_overlay.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/options.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/password_manager_list.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/profiles_icon_grid.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/search_engine_manager_engine_list.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/supervised_user_list.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/on_startup_page/compiled_resources2.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/on_startup_page/startup_url_entry.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/on_startup_page/startup_url_entry.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/search_engines_page/search_engine_entry.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/site_settings/compiled_resources2.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/site_settings/site_settings_behavior.html
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/site_settings/site_settings_behavior.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chrome/test/data/webui/icon_test.html
|
View
|
1
2
3
|
3 chunks |
+2 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/util_test.html
|
View
|
1
2
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/webui_resource_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -1 line |
3 comments
|
Download
|
 |
A |
ui/webui/resources/html/icon.html
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/compiled_resources2.gyp
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/webui/resources/js/icon.js
|
View
|
1
2
3
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/util.js
|
View
|
1
2
|
3 chunks |
+0 lines, -97 lines |
2 comments
|
Download
|
 |
M |
ui/webui/resources/webui_resources.grd
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (13 generated)
|