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

Issue 331163003: [Refactor] Change FaviconService API to take in a desired pixel size (Closed)

Created:
6 years, 6 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, zea+watch_chromium.org, tfarina, dbeam+watch-ntp_chromium.org, haitaol+watch_chromium.org, browser-components-watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Refactor FaviconService API to take in a desired pixel size instead of a desired size in DIP pixels and a desired scale. BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282840

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -223 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/android/favicon_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/favicon_helper.cc View 1 2 3 chunks +17 lines, -14 lines 0 comments Download
M chrome/browser/android/provider/chrome_browser_provider.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/chrome_bookmark_client.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/chrome_bookmark_client.cc View 1 2 2 chunks +28 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/favicon/favicon_service.h View 1 5 chunks +66 lines, -72 lines 0 comments Download
M chrome/browser/favicon/favicon_service.cc View 1 5 chunks +47 lines, -47 lines 0 comments Download
M chrome/browser/jumplist_win.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/sync/glue/favicon_cache.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/navigation_popup.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge.mm View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/search_engines/template_url_table_model.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/toolbar/back_forward_menu_model.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_icon_source.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/favicon_webui_handler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/bookmarks/browser/bookmark_client.h View 1 2 2 chunks +12 lines, -9 lines 0 comments Download
M components/bookmarks/browser/bookmark_client.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M components/bookmarks/browser/bookmark_model.cc View 1 2 1 chunk +10 lines, -10 lines 0 comments Download
M ui/message_center/message_center_style.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
pkotwicz
Scott, can you please take a look? I will refactor FaviconHandler in an upcoming CL. ...
6 years, 5 months ago (2014-07-01 00:56:17 UTC) #1
sky
Can you remind me why this is better?
6 years, 5 months ago (2014-07-09 17:33:45 UTC) #2
pkotwicz
I think that it makes the FaviconService API simpler to understand. Now that the FaviconService ...
6 years, 5 months ago (2014-07-09 18:11:54 UTC) #3
sky
IMO the more confusing thing we have now is the methods names of FaviconService. For ...
6 years, 5 months ago (2014-07-10 00:03:39 UTC) #4
sky
6 years, 5 months ago (2014-07-10 00:03:44 UTC) #5
pkotwicz
Scott, can you please take another look? I will leave renaming the methods in FaviconService ...
6 years, 5 months ago (2014-07-11 01:23:09 UTC) #6
sky
https://codereview.chromium.org/331163003/diff/60002/components/bookmarks/browser/bookmark_client.h File components/bookmarks/browser/bookmark_client.h (right): https://codereview.chromium.org/331163003/diff/60002/components/bookmarks/browser/bookmark_client.h#newcode52 components/bookmarks/browser/bookmark_client.h:52: // Requests the largest favicon of type favicon_base::TOUCH_ICON in ...
6 years, 5 months ago (2014-07-11 16:26:51 UTC) #7
pkotwicz
Scott, can you please take another look? https://codereview.chromium.org/331163003/diff/60002/components/bookmarks/browser/bookmark_client.h File components/bookmarks/browser/bookmark_client.h (right): https://codereview.chromium.org/331163003/diff/60002/components/bookmarks/browser/bookmark_client.h#newcode52 components/bookmarks/browser/bookmark_client.h:52: // Requests ...
6 years, 5 months ago (2014-07-11 18:47:45 UTC) #8
sky
LGTM
6 years, 5 months ago (2014-07-11 19:32:56 UTC) #9
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-11 21:47:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/331163003/130001
6 years, 5 months ago (2014-07-11 21:49:09 UTC) #11
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-11 23:39:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/331163003/150001
6 years, 5 months ago (2014-07-11 23:40:29 UTC) #13
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-12 15:25:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/331163003/170001
6 years, 5 months ago (2014-07-12 15:25:49 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-12 23:00:29 UTC) #16
Message was sent while issue was closed.
Change committed as 282840

Powered by Google App Engine
This is Rietveld 408576698