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

Side by Side Diff: chrome/app/theme/theme_resources.grd

Issue 2880033003: Apply MD style to Linux avatar buttons. (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/profiles/avatar_button.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This grd file contains images that are pre-scaled for device scale 2 <!-- This grd file contains images that are pre-scaled for device scale
3 factors. The image returned by |base::ResourceBundle::GetImageNamed| 3 factors. The image returned by |base::ResourceBundle::GetImageNamed|
4 will contain multiple |gfx:ImageSkiaReps| for each scale factors. The 4 will contain multiple |gfx:ImageSkiaReps| for each scale factors. The
5 |fallback_to_low_resolution| attribute controls behavior when 5 |fallback_to_low_resolution| attribute controls behavior when
6 an image file is missing for target scale factor. If true, chrome 6 an image file is missing for target scale factor. If true, chrome
7 will automatically scale the 1x image to the target scale factor. 7 will automatically scale the 1x image to the target scale factor.
8 If false, build will fail due to missing resources. This is 8 If false, build will fail due to missing resources. This is
9 currently set to true for all resources, but the default will 9 currently set to true for all resources, but the default will
10 become false in near future. 10 become false in near future.
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_20" file="c ommon/profile_avatar_cupcake.png" /> 326 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_20" file="c ommon/profile_avatar_cupcake.png" />
327 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_21" file="c ommon/profile_avatar_dog.png" /> 327 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_21" file="c ommon/profile_avatar_dog.png" />
328 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_22" file="c ommon/profile_avatar_horse.png" /> 328 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_22" file="c ommon/profile_avatar_horse.png" />
329 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_23" file="c ommon/profile_avatar_margarita.png" /> 329 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_23" file="c ommon/profile_avatar_margarita.png" />
330 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_24" file="c ommon/profile_avatar_note.png" /> 330 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_24" file="c ommon/profile_avatar_note.png" />
331 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_25" file="c ommon/profile_avatar_sun_cloud.png" /> 331 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_25" file="c ommon/profile_avatar_sun_cloud.png" />
332 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_26" file="c ommon/profile_avatar_placeholder.png" /> 332 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_26" file="c ommon/profile_avatar_placeholder.png" />
333 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_PLACEHOLDER _LARGE" file="common/profile_avatar_placeholder_large.png" /> 333 <structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_PLACEHOLDER _LARGE" file="common/profile_avatar_placeholder_large.png" />
334 334
335 <!-- New style avatar button --> 335 <!-- New style avatar button -->
336 <if expr="toolkit_views and not is_macosx"> 336 <if expr="is_win">
Lei Zhang 2017/09/13 07:37:34 This doesn't match the C++ code. The IDR_AVATAR_TH
337 <!-- Windows, themed --> 337 <!-- Windows, themed -->
338 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_AVA TAR" file="win/avatar_button/themed/sign_in_button_avatar.png" /> 338 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_AVA TAR" file="win/avatar_button/themed/sign_in_button_avatar.png" />
339 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM" file="win/avatar_button/themed/sign_in_button_bottom.png" /> 339 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM" file="win/avatar_button/themed/sign_in_button_bottom.png" />
340 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM_LEFT" file="win/avatar_button/themed/sign_in_button_bottom_left.png" /> 340 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM_LEFT" file="win/avatar_button/themed/sign_in_button_bottom_left.png" />
341 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM_RIGHT" file="win/avatar_button/themed/sign_in_button_bottom_right.png " /> 341 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_BOTTOM_RIGHT" file="win/avatar_button/themed/sign_in_button_bottom_right.png " />
342 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_CENTER" file="win/avatar_button/themed/sign_in_button_center.png" /> 342 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_CENTER" file="win/avatar_button/themed/sign_in_button_center.png" />
343 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_LEFT" file="win/avatar_button/themed/sign_in_button_left.png" /> 343 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_LEFT" file="win/avatar_button/themed/sign_in_button_left.png" />
344 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_RIGHT" file="win/avatar_button/themed/sign_in_button_right.png" /> 344 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_RIGHT" file="win/avatar_button/themed/sign_in_button_right.png" />
345 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_TOP" file="win/avatar_button/themed/sign_in_button_top.png" /> 345 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_TOP" file="win/avatar_button/themed/sign_in_button_top.png" />
346 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_TOP_LEFT" file="win/avatar_button/themed/sign_in_button_top_left.png" /> 346 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_BUTTON_NOR MAL_TOP_LEFT" file="win/avatar_button/themed/sign_in_button_top_left.png" />
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 </if> 529 </if>
530 <if expr="_google_chrome"> 530 <if expr="_google_chrome">
531 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON" file="goo gle_chrome/webstore_icon.png" /> 531 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON" file="goo gle_chrome/webstore_icon.png" />
532 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" /> 532 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" />
533 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" /> 533 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" />
534 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 534 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
535 </if> 535 </if>
536 </structures> 536 </structures>
537 </release> 537 </release>
538 </grit> 538 </grit>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/profiles/avatar_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698