|
|
Replace IDR_WEB_UI_CLOSE* with IDR_CLOSE_DIALOG*, cleanup, etc.
Replace IDR_WEB_UI_CLOSE* uses with IDR_CLOSE_DIALOG*.
(same images from ui/resources instead of chrome/app/theme)
Remove IDR_WEB_UI_CLOSE* IDRs and web_ui_close*.png images.
Give ConfirmBubbleViews's close button hover/pressed images.
(this better matches the specification for the new dialog style)
Note: To test the only use of ConfirmBubbleViews:
1) Open a webpage textfield context menu (right-click).
2) Select "Spell-checker options" -> "Ask Google for suggestions".
3) Observe the dialog's close button on hover/press.
Replace the LabelButtonBorder in LabelButton::SetNativeTheme.
(instead of casting a potentially non-existant/different border)
Cap the label width to a non-negative size in LabelButton::Layout.
(to prevent crashes when the image size exceeds the available size)
Remove the DialogFrameView close button border, adjust Layout.
(this better matches the specification for the new dialog style)
See the resulting screenshot at: http://crbug.com/166075#c11
BUG= 166075
TEST=Spelling bubble has better (x) image; no build breaks.
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176265
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+44 lines, -37 lines) |
Patch |
 |
D |
chrome/app/theme/default_100_percent/web_ui_close.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chrome/app/theme/default_100_percent/web_ui_close_hover.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chrome/app/theme/default_100_percent/web_ui_close_pressed.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chrome/app/theme/default_200_percent/web_ui_close.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chrome/app/theme/default_200_percent/web_ui_close_hover.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chrome/app/theme/default_200_percent/web_ui_close_pressed.png
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
chrome/app/theme/theme_resources.grd
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/login/oobe.css
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/no_destinations_promo.css
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/search/destination_search.css
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/shared/css/dialogs.css
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/shared/css/overlay.css
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/chrome_style.cc
|
View
|
1
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/hover_close_button.mm
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/confirm_bubble_views.cc
|
View
|
1
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/web_intent_picker_views.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/label_button.cc
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/window/dialog_frame_view.cc
|
View
|
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|