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

Issue 12703039: Inconsistent use of [x] close panel icon. Code changes. (Closed)

Created:
7 years, 9 months ago by varkha
Modified:
7 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, dbeam+watch-options_chromium.org, akalin, Raghu Simha, benjhayden+dwatch_chromium.org, tfarina, asanka, Randy Smith (Not in Mondays), sail+watch_chromium.org, Aaron Boodman, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, estade+watch_chromium.org, haitaol1, stevenjb+watch_chromium.org, markusheintz_, tim (not reviewing), pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Inconsistent use of [x] close panel icon. Code changes. 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_1. IDR_CLOSE_BAR was renamed IDR_CLOSE_2. png files were also renamed (this is handled by two separate committs to work around restriction on binary committs by newbies). See https://codereview.chromium.org/12703022/ for added resources. 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). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190844

Patch Set 1 : Added recently added local NTP file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -142 lines) Patch
M build/ios/grit_whitelist.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/first_run/try_chrome_dialog_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.css View 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/resources/options/chromeos/accounts_options_page.css View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/search/local_ntp_source.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/hover_close_button.mm View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.mm View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/confirm_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/custom_button.h View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/custom_button.cc View 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/download/download_shelf_gtk.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/find_bar_gtk.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/infobars/infobar_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/download/download_shelf_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/extensions/bundle_installed_bubble.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/notifications/balloon_view_views.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/resources/plugin_placeholders.css View 1 chunk +6 lines, -7 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
M ui/webui/resources/css/bubble.css View 1 chunk +6 lines, -6 lines 0 comments Download
M ui/webui/resources/css/expandable_bubble.css View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
varkha
This was reviewed before (except for chrome/browser/search/local_ntp_source.cc which is a new file that appeared today. ...
7 years, 9 months ago (2013-03-26 22:14:08 UTC) #1
varkha
sky@, Can you please review this. It is the same change you looked at before ...
7 years, 9 months ago (2013-03-26 22:23:13 UTC) #2
sky
Rubber stamp LGTM - in the future make patchset 1 the original patchset so that ...
7 years, 9 months ago (2013-03-26 22:51:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/12703039/9021
7 years, 9 months ago (2013-03-26 23:06:39 UTC) #4
commit-bot: I haz the power
7 years, 9 months ago (2013-03-27 07:08:02 UTC) #5
Message was sent while issue was closed.
Change committed as 190844

Powered by Google App Engine
This is Rietveld 408576698