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

Issue 12966002: Inconsistent use of [x] close panel icon (Closed)

Created:
7 years, 9 months ago by varkha
Modified:
7 years, 9 months ago
Reviewers:
CC:
chromium-reviews, asanka, akalin, benjhayden+dwatch_chromium.org, tfarina, Randy Smith (Not in Mondays), sail+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, Raghu Simha, chromium-apps-reviews_chromium.org, haitaol1, markusheintz_, tim (not reviewing)
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Inconsistent use of [x] close panel icon The close button in download pane should be the tab close button asset : tab_close_*.png (this was originally reported as part of BUG=173251 ). By the same logic the same smaller bitmap with red hover background should be used for all infobars such as translate bar, save password bar, etc. It should also be used for find-in-page bar on all platforms (Mac was missed with the previous implementation). The close button in the chrome UI and Web UI bubbles was left the same as before (this needs to be regression-tested). Code was rearranged to make explicit the disrepancy between the IDR_CLOSE_BAR and IDR_CLOSE_BUBBLE. IDR_TAB_CLOSE was renamed IDR_CLOSE_BAR. IDR_CLOSE_BAR was renamed IDR_CLOSE_BUBBLE. BUG=217094 TEST=Open any page that downloads an attachment such as gmail email with an attachment or a page with images. Download an image or an attachment. Verify that the close button in download bar at the bottom of the screen has a red circular background when mouse hovers over it - same as the close tab button. TEST=Open find-in-page (Ctrl+F) box on Mac, Linux and Windows and check that the close button is same as tab close (has a red circular background when mouse hovers over it). TEST=Open any infobar (translate / save password) on both ChromeOS and linux and check that the close button is same as tab close (has a red circular background when mouse hovers over it). Opening a non-English news page is usually the easiest way. TEST=Trigger chrome to show a toolbar bubble such as extension installed bubble that shows when an extension is installed from chrome web store (see bitmaps in comments attached to BUG=217094 ). Confirm that the close buttons in those bubbles are NOT changed from before the change (they should NOT have the red circular background when mouse hovers over).

Patch Set 1 : Renamed bitmap resources and resource IDs for close buttons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -68 lines) Patch
build/ios/grit_whitelist.txt View 2 chunks +2 lines, -2 lines 0 comments Download
chrome/app/theme/default_100_percent/common/button_close_1_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/button_close_1_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/button_close_1_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/button_close_1_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/tab_close_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/tab_close_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/tab_close_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_100_percent/common/tab_close_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/button_close_1_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/button_close_1_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/button_close_1_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/button_close_1_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/tab_close_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/tab_close_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/tab_close_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/default_200_percent/common/tab_close_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/theme_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/button_close_1_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/button_close_1_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/button_close_1_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/button_close_1_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/tab_close_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/tab_close_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/tab_close_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_100_percent/common/tab_close_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/button_close_1_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/button_close_1_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/button_close_1_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/button_close_1_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/tab_close_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/tab_close_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/tab_close_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_140_percent/common/tab_close_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/button_close_1_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/button_close_1_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/button_close_1_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/button_close_1_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/tab_close_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/tab_close_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/tab_close_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/app/theme/touch_180_percent/common/tab_close_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
chrome/browser/resources/ntp4/new_tab.css View 2 chunks +12 lines, -10 lines 0 comments Download
chrome/browser/resources/options/chromeos/accounts_options_page.css View 1 chunk +8 lines, -6 lines 0 comments Download
chrome/browser/resources/options/options_page.css View 2 chunks +12 lines, -10 lines 0 comments Download
chrome/browser/ui/cocoa/hover_close_button.mm View 1 chunk +4 lines, -4 lines 0 comments Download
chrome/browser/ui/gtk/confirm_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/custom_button.h View 1 chunk +8 lines, -3 lines 0 comments Download
chrome/browser/ui/gtk/custom_button.cc View 1 chunk +13 lines, -3 lines 0 comments Download
chrome/browser/ui/gtk/download/download_shelf_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/find_bar_gtk.cc View 2 chunks +3 lines, -6 lines 0 comments Download
chrome/browser/ui/gtk/infobars/infobar_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc View 1 chunk +3 lines, -6 lines 0 comments Download
chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 3 chunks +4 lines, -5 lines 0 comments Download
chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/ui/views/download/download_shelf_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
chrome/browser/ui/views/extensions/bundle_installed_bubble.cc View 1 chunk +3 lines, -3 lines 0 comments Download
chrome/browser/ui/views/extensions/extension_installed_bubble.cc View 1 chunk +3 lines, -3 lines 0 comments Download
chrome/browser/ui/views/find_bar_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
chrome/browser/ui/views/infobars/infobar_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
chrome/browser/ui/views/notifications/balloon_view_views.cc View 1 chunk +5 lines, -5 lines 0 comments Download
chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
chrome/browser/ui/views/tabs/tab.cc View 2 chunks +5 lines, -5 lines 0 comments Download
chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
chrome/renderer/resources/plugin_placeholders.css View 1 chunk +12 lines, -7 lines 0 comments Download
ui/resources/default_100_percent/button_close_2_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/button_close_2_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/button_close_2_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/button_close_2_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/close_bar.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/close_bar_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/close_bar_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_100_percent/close_bar_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/button_close_2_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/button_close_2_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/button_close_2_normal.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/button_close_2_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/close_bar.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/close_bar_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/close_bar_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/default_200_percent/close_bar_pressed.png View 0 chunks +-1 lines, --1 lines 0 comments Download
ui/resources/ui_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
ui/webui/resources/css/bubble.css View 1 chunk +6 lines, -6 lines 0 comments Download
ui/webui/resources/css/expandable_bubble.css View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
varkha
sky, you have looked at the part of it when reviewing BUG=173251. The change mushroomed ...
7 years, 9 months ago (2013-03-20 18:22:28 UTC) #1
sky
I'm also adding erg Elliot for gtk and Avi for Mac. https://codereview.chromium.org/12966002/diff/1/ui/resources/ui_resources.grd File ui/resources/ui_resources.grd (right): ...
7 years, 9 months ago (2013-03-20 21:10:37 UTC) #2
Avi (use Gerrit)
The Mac changes are trivial and lgtm. Scott raises good questions; make sure he ends ...
7 years, 9 months ago (2013-03-20 21:17:20 UTC) #3
Elliot Glaysher
the gtk changes, while spread over a bunch of files, are also trivial. It doesn't ...
7 years, 9 months ago (2013-03-20 21:25:15 UTC) #4
varkha1
Will rename the PNG's. Would CLOSE_BLACK / CLOSE_RED be better than non-descriptive CLOSE1 / CLOSE2? ...
7 years, 9 months ago (2013-03-20 21:31:32 UTC) #5
sky
I like 1 and 2 over black/red. On Wed, Mar 20, 2013 at 2:31 PM, ...
7 years, 9 months ago (2013-03-20 22:07:50 UTC) #6
sky
One reason I don't like using the color in the name is that I can ...
7 years, 9 months ago (2013-03-20 22:19:38 UTC) #7
tfarina
On Wednesday, March 20, 2013, wrote: > One reason I don't like using the color ...
7 years, 9 months ago (2013-03-20 22:38:27 UTC) #8
varkha
I have uploaded the set with the resources renamed ("1" and "2") variant. sky, would ...
7 years, 9 months ago (2013-03-21 23:38:45 UTC) #9
sky
Your diff didn't seem to make it, could you try again? I like 1 and ...
7 years, 9 months ago (2013-03-22 04:07:38 UTC) #10
varkha
Could it be because I used SVC for the first and git for the second? ...
7 years, 9 months ago (2013-03-22 04:11:45 UTC) #11
varkha
7 years, 9 months ago (2013-03-22 15:51:52 UTC) #12
This has been superseded by https://codereview.chromium.org/12634025/ due to
mangled diffs.

Powered by Google App Engine
This is Rietveld 408576698