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

Issue 633373010: Generate chrome_300_percent.pak (Closed)

Created:
6 years, 2 months ago by lliabraa
Modified:
6 years, 2 months ago
CC:
chromium-reviews, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Generate chrome_300_percent.pak This CL updates chrome/chrome_resources.gyp to generate the chrome_300_percent.pak file (via the newly-added chrome/chrome_repack_chrome_300_percent.gypi). Several .grd files have been updated to generate the *_300_percent.pak files that are used to create chrome_300_percent.pak. This CL doesn't add any assets but grit complains if the necessary default_300_percent directories are not present so this CL adds placeholder files in these directories until real assets are added (which is tracked by crbug.com/423755). Since there are no assets in the *_300_percent directories, grit will fallback to using the 1x versions when generating the *_300_percent.pak files. Note that 300 percent support will be enabled in ui/base/resources by a subsequent CL (https://chromiumcodereview.appspot.com/646773004/). BUG=423762 Committed: https://crrev.com/ca09c95ee45362dfb4a50a9d22a6f8195d28bc41 Cr-Commit-Position: refs/heads/master@{#300869}

Patch Set 1 #

Total comments: 4

Patch Set 2 : only add 300p for iOS #

Patch Set 3 : don't combine includes #

Patch Set 4 : move 300 percent action into OS==ios condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, --4 lines) Patch
A + chrome/app/theme/default_300_percent/DELETE_ME View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_ios_bundle_resources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/chrome_repack_chrome_300_percent.gypi View 1 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A + chrome/renderer/resources/default_300_percent/DELETE_ME View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M components/resources/components_scaled_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
A + components/resources/default_300_percent/DELETE_ME View 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/resources/default_300_percent/DELETE_ME View 0 chunks +-1 lines, --1 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
lliabraa
6 years, 2 months ago (2014-10-15 19:27:39 UTC) #2
lliabraa
+tony Rohit and I have discussed this CL and he's +1 from an iOS perspective ...
6 years, 2 months ago (2014-10-17 12:19:58 UTC) #4
tony
AFAIK, iOS is the first to use 300 percent images. Oshima probably knows more than ...
6 years, 2 months ago (2014-10-17 16:53:03 UTC) #6
oshima
Yes, desktop chrome only supports up to 2x. https://codereview.chromium.org/633373010/diff/1/chrome/chrome_repack_chrome_300_percent.gypi File chrome/chrome_repack_chrome_300_percent.gypi (right): https://codereview.chromium.org/633373010/diff/1/chrome/chrome_repack_chrome_300_percent.gypi#newcode41 chrome/chrome_repack_chrome_300_percent.gypi:41: }], ...
6 years, 2 months ago (2014-10-17 17:18:21 UTC) #7
lliabraa
thanks for the review https://codereview.chromium.org/633373010/diff/1/chrome/chrome_repack_chrome_300_percent.gypi File chrome/chrome_repack_chrome_300_percent.gypi (right): https://codereview.chromium.org/633373010/diff/1/chrome/chrome_repack_chrome_300_percent.gypi#newcode41 chrome/chrome_repack_chrome_300_percent.gypi:41: }], On 2014/10/17 17:18:21, oshima ...
6 years, 2 months ago (2014-10-21 14:25:09 UTC) #8
oshima
lgtm
6 years, 2 months ago (2014-10-21 22:17:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633373010/40001
6 years, 2 months ago (2014-10-22 11:36:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/15093) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/19214) linux_chromium_chromeos_rel_swarming ...
6 years, 2 months ago (2014-10-22 11:41:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633373010/60001
6 years, 2 months ago (2014-10-22 11:52:51 UTC) #15
lliabraa
+jochen for OWNERS
6 years, 2 months ago (2014-10-22 11:56:45 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/21772)
6 years, 2 months ago (2014-10-22 11:58:12 UTC) #19
lliabraa
On 2014/10/22 11:58:12, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 2 months ago (2014-10-22 13:53:15 UTC) #20
jochen (gone - plz use gerrit)
why do you need all those delete_me files?
6 years, 2 months ago (2014-10-22 15:25:39 UTC) #21
lliabraa
On 2014/10/22 15:25:39, jochen wrote: > why do you need all those delete_me files? I ...
6 years, 2 months ago (2014-10-22 15:59:13 UTC) #22
jochen (gone - plz use gerrit)
ok, lgtm
6 years, 2 months ago (2014-10-23 09:35:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633373010/60001
6 years, 2 months ago (2014-10-23 10:44:08 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-23 11:41:14 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 11:41:58 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ca09c95ee45362dfb4a50a9d22a6f8195d28bc41
Cr-Commit-Position: refs/heads/master@{#300869}

Powered by Google App Engine
This is Rietveld 408576698