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

Issue 400973002: Move default user profile images strings and resources out of src/chrome. (Closed)

Created:
6 years, 5 months ago by Nikita (slow)
Modified:
6 years, 5 months ago
Reviewers:
Bernhard Bauer, tony, oshima
CC:
chromium-reviews, dbeam+watch-options_chromium.org, nkostylev+watch_chromium.org, dcheng, pam+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : constant #

Patch Set 3 : merge #

Patch Set 4 : move avatar > default_user_images #

Patch Set 5 : export constants #

Patch Set 6 : export #

Patch Set 7 : move files to new dir, workaround for trybot bug #

Patch Set 8 : move again #

Patch Set 9 : split #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -242 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 2 chunks +0 lines, -207 lines 0 comments Download
D chrome/app/theme/default_100_percent/avatar_beaker.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_bee.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_bicycle.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_bokeh.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_briefcase.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_chess.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_circles.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_cloud.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_coffee.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_cupcake.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_day.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_dragonfly.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_flower.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_frog.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_ganzania.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_globe.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_hotair.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_jackrussellterrier.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_jellyfish.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_kiwi.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_ladybug.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_leaf.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_night.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_penguin.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_plane.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_rainbowfish.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_recordplayer.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_robot_body.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_robot_head.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_toolbox.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_upsidedown.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_user_color.png View Binary file 0 comments Download
D chrome/app/theme/default_100_percent/avatar_user_enterprise.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 chunk +0 lines, -33 lines 0 comments Download
D chrome/browser/chromeos/login/users/avatar/default_user_images.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/user_image_source.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_beaker.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_bee.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_bicycle.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_bokeh.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_briefcase.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_chess.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_circles.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_cloud.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_coffee.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_cupcake.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_day.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_dragonfly.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_flower.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_frog.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_ganzania.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_globe.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_hotair.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_jackrussellterrier.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_jellyfish.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_kiwi.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_ladybug.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_leaf.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_night.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_penguin.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_plane.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_rainbowfish.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_recordplayer.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_robot_body.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_robot_head.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_toolbox.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_upsidedown.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_user_color.png View 1 2 3 7 8 Binary file 0 comments Download
A + ui/chromeos/resources/default_100_percent/default_user_images/avatar_user_enterprise.png View 1 2 3 7 8 Binary file 0 comments Download
M ui/chromeos/resources/ui_chromeos_resources.grd View 1 2 3 7 8 1 chunk +35 lines, -0 lines 0 comments Download
M ui/chromeos/ui_chromeos_strings.grd View 1 chunk +208 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Nikita (slow)
bauerb@ for chrome/browser/supervised_user/* oshima@ the rest.
6 years, 5 months ago (2014-07-18 13:01:42 UTC) #1
oshima
On 2014/07/18 13:01:42, Nikita Kostylev wrote: > bauerb@ for > chrome/browser/supervised_user/* > > oshima@ the ...
6 years, 5 months ago (2014-07-18 13:44:12 UTC) #2
Nikita (slow)
On 2014/07/18 13:44:12, oshima (OOO) until July 21) wrote: > On 2014/07/18 13:01:42, Nikita Kostylev ...
6 years, 5 months ago (2014-07-18 13:48:16 UTC) #3
oshima
On 2014/07/18 13:48:16, Nikita Kostylev wrote: > On 2014/07/18 13:44:12, oshima (OOO) until July 21) ...
6 years, 5 months ago (2014-07-18 14:21:43 UTC) #4
Nikita (slow)
On 2014/07/18 14:21:43, oshima (OOO) until July 21) wrote: > On 2014/07/18 13:48:16, Nikita Kostylev ...
6 years, 5 months ago (2014-07-18 14:32:12 UTC) #5
Bernhard Bauer
Trivially LGTM
6 years, 5 months ago (2014-07-21 08:59:03 UTC) #6
Nikita (slow)
TBR'ing OWNERS of these new dependencies that were added to user_manager/DEPS tony@: +ui/base/l10n +ui/base/resource
6 years, 5 months ago (2014-07-21 12:15:29 UTC) #7
Nikita (slow)
Committed patchset #4 manually as r284417 (presubmit successful).
6 years, 5 months ago (2014-07-21 12:40:02 UTC) #8
Nikita (slow)
Ok, I'm splitting this CL. First part (this one) will only move strings and resources. ...
6 years, 5 months ago (2014-07-21 14:27:40 UTC) #9
Nikita (slow)
Committed patchset #9 manually as r284429 (presubmit successful).
6 years, 5 months ago (2014-07-21 15:16:16 UTC) #10
Nikita (slow)
2x resources were accidentally missed in this CL so I've created follow up that moves ...
6 years, 5 months ago (2014-07-21 16:16:50 UTC) #11
Nikita (slow)
On 2014/07/21 16:16:50, Nikita Kostylev wrote: > 2x resources were accidentally missed in this CL ...
6 years, 5 months ago (2014-07-21 16:16:58 UTC) #12
oshima
On 2014/07/18 14:32:12, Nikita Kostylev wrote: > On 2014/07/18 14:21:43, oshima (OOO) until July 21) ...
6 years, 5 months ago (2014-07-23 00:52:33 UTC) #13
Nikita (slow)
On 2014/07/23 00:52:33, oshima wrote: > On 2014/07/18 14:32:12, Nikita Kostylev wrote: > > On ...
6 years, 5 months ago (2014-07-23 08:44:33 UTC) #14
Nikita (slow)
6 years, 5 months ago (2014-07-23 12:46:19 UTC) #15
Message was sent while issue was closed.
On 2014/07/23 08:44:33, Nikita Kostylev wrote:
> On 2014/07/23 00:52:33, oshima wrote:
> > On 2014/07/18 14:32:12, Nikita Kostylev wrote:
> > > On 2014/07/18 14:21:43, oshima (OOO) until July 21) wrote:
> > > > On 2014/07/18 13:48:16, Nikita Kostylev wrote:
> > > > > On 2014/07/18 13:44:12, oshima (OOO) until July 21) wrote:
> > > > > > On 2014/07/18 13:01:42, Nikita Kostylev wrote:
> > > > > > > bauerb@ for
> > > > > > > chrome/browser/supervised_user/*
> > > > > > > 
> > > > > > > oshima@ the rest.
> > > > > > 
> > > > > > lgtm
> > > > > > 
> > > > > > looks like there are several missing resources for 2x scale. can you
> ask
> > > UX
> > > > > > folks to create them?
> > > > > 
> > > > > I don't think this is really needed (and is not possible) since those
> > > without
> > > > 2x
> > > > > versions are legacy pre-ash resources that are not available for
> selection
> > > > > anymore.
> > > > > Only those users that still use them will see them. Last time we
checked
> > > > > designers don't have originals for those images.
> > > > 
> > > > hmm, so we don't copy them to user's directory? Shouldn't we?
> > > 
> > > You mean default images? We use them from resources.
> > 
> > Do we need to use them from resources? Given that we already allow a user to
> use
> > their own image,
> > it may actually simplify the code by copying the assets?
> 
> Sorry, I didn't fully understand what you're suggesting?
> These default images have to be part of resources since they're identified in
> Local State just as index.
> 
> What exactly are you suggesting?

Are you suggesting just save default image as a file and use that instead?
This would break existing users that already have default image selected and
just reference it chrome://theme/*
Also I don't think this is feasible to change existing implementation.
When this index is synced on Chromebook we don't have to save file as well, just
index.

Powered by Google App Engine
This is Rietveld 408576698