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

Issue 2521493003: [ios] Adds BrandedImageProvider and its associated image resources. (Closed)

Created:
4 years, 1 month ago by rohitrao (ping after 24h)
Modified:
4 years, 1 month ago
Reviewers:
sdefresne
CC:
chromium-reviews, pkl (ping after 24h if needed), mac-reviews_chromium.org, oshima+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Adds BrandedImageProvider and its associated image resources. This provider will vend images that contain embedder-specific branding. BUG=665967 Committed: https://crrev.com/2c8da2b13c765261c6c4890c8386d2cdd4d74201 Cr-Commit-Position: refs/heads/master@{#433862}

Patch Set 1 #

Patch Set 2 : More API. #

Patch Set 3 : Rebased. #

Patch Set 4 : Add header image. #

Total comments: 6

Patch Set 5 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -2 lines) Patch
A ios/chrome/app/theme/default_100_percent/contextual_search_header.png View 1 2 3 Binary file 0 comments Download
A ios/chrome/app/theme/default_100_percent/promo_info.png View Binary file 0 comments Download
A ios/chrome/app/theme/default_100_percent/settings_info_24.png View Binary file 0 comments Download
A ios/chrome/app/theme/default_200_percent/contextual_search_header.png View 1 2 3 Binary file 0 comments Download
A ios/chrome/app/theme/default_200_percent/promo_info.png View Binary file 0 comments Download
A ios/chrome/app/theme/default_200_percent/settings_info_24.png View Binary file 0 comments Download
A ios/chrome/app/theme/default_300_percent/contextual_search_header.png View 1 2 3 Binary file 0 comments Download
A ios/chrome/app/theme/default_300_percent/promo_info.png View Binary file 0 comments Download
A ios/chrome/app/theme/default_300_percent/settings_info_24.png View Binary file 0 comments Download
M ios/chrome/app/theme/ios_theme_resources.grd View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/providers/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/providers/chromium_browser_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/providers/chromium_browser_provider.mm View 1 2 3 chunks +7 lines, -1 line 0 comments Download
A ios/chrome/browser/providers/images/BUILD.gn View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A ios/chrome/browser/providers/images/chromium_branded_image_provider.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
A ios/chrome/browser/providers/images/chromium_branded_image_provider.mm View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/BUILD.gn View 4 chunks +7 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.mm View 1 chunk +5 lines, -1 line 0 comments Download
A ios/public/provider/chrome/browser/images/branded_image_provider.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/images/branded_image_provider.mm View 1 1 chunk +43 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/images/test_branded_image_provider.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/images/test_branded_image_provider.mm View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/images/whats_new_icon.h View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
rohitrao (ping after 24h)
I'm still adding more methods to the provider, but this is ready for an initial ...
4 years, 1 month ago (2016-11-21 21:06:24 UTC) #4
rohitrao (ping after 24h)
This is ready for review now. I believe this is the full set of methods ...
4 years, 1 month ago (2016-11-22 12:17:22 UTC) #7
sdefresne
lgtm with comments https://codereview.chromium.org/2521493003/diff/60001/ios/chrome/browser/providers/BUILD.gn File ios/chrome/browser/providers/BUILD.gn (right): https://codereview.chromium.org/2521493003/diff/60001/ios/chrome/browser/providers/BUILD.gn#newcode15 ios/chrome/browser/providers/BUILD.gn:15: "images/chromium_branded_image_provider.h", Can you move this to ...
4 years, 1 month ago (2016-11-22 13:29:31 UTC) #8
rohitrao (ping after 24h)
I have a general question about whether we want our test providers to be dense ...
4 years, 1 month ago (2016-11-22 13:33:47 UTC) #9
sdefresne
https://codereview.chromium.org/2521493003/diff/60001/ios/public/provider/chrome/browser/images/test_branded_image_provider.h File ios/public/provider/chrome/browser/images/test_branded_image_provider.h (right): https://codereview.chromium.org/2521493003/diff/60001/ios/public/provider/chrome/browser/images/test_branded_image_provider.h#newcode16 ios/public/provider/chrome/browser/images/test_branded_image_provider.h:16: UIImage* GetAccountsListActivityControlsImage() override; On 2016/11/22 13:33:47, rohitrao wrote: > ...
4 years, 1 month ago (2016-11-22 13:41:27 UTC) #10
rohitrao (ping after 24h)
https://codereview.chromium.org/2521493003/diff/60001/ios/public/provider/chrome/browser/images/test_branded_image_provider.h File ios/public/provider/chrome/browser/images/test_branded_image_provider.h (right): https://codereview.chromium.org/2521493003/diff/60001/ios/public/provider/chrome/browser/images/test_branded_image_provider.h#newcode16 ios/public/provider/chrome/browser/images/test_branded_image_provider.h:16: UIImage* GetAccountsListActivityControlsImage() override; > I think we should remove ...
4 years, 1 month ago (2016-11-22 13:43:02 UTC) #11
rohitrao (ping after 24h)
https://codereview.chromium.org/2521493003/diff/60001/ios/chrome/browser/providers/BUILD.gn File ios/chrome/browser/providers/BUILD.gn (right): https://codereview.chromium.org/2521493003/diff/60001/ios/chrome/browser/providers/BUILD.gn#newcode15 ios/chrome/browser/providers/BUILD.gn:15: "images/chromium_branded_image_provider.h", On 2016/11/22 13:29:30, sdefresne wrote: > Can you ...
4 years, 1 month ago (2016-11-22 13:56:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2521493003/80001
4 years, 1 month ago (2016-11-22 13:56:36 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-22 15:20:21 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 15:22:54 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2c8da2b13c765261c6c4890c8386d2cdd4d74201
Cr-Commit-Position: refs/heads/master@{#433862}

Powered by Google App Engine
This is Rietveld 408576698