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

Issue 9187061: Preliminary implementation of Google-style dialogs in ash::internal::DialogFrameView (Closed)

Created:
8 years, 11 months ago by benrg
Modified:
8 years, 11 months ago
CC:
chromium-reviews, asanka, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, Randy Smith (Not in Mondays), mihaip+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), darin-cc_chromium.org, brettw-cc_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Preliminary implementation of Google-style dialogs in ash::internal::DialogFrameView This code is only compiled into Aura and only used if the "Google-style dialogs" flag is specified (--aura-google-dialog-frames). Remaining issues: * Constrained windows are still broken -- see issue 109138. * Title and body text should be #222, not black. This CL only affects the title, and currently leaves it at black to match the body text. * The shadow and border stroke are not up to spec. Fixing this would require adding new image assets or rewriting the drawing code entirely. * Some dialogs look pretty bad, such as the certificate viewer (which has a tab bar with the wrong look). * The close button placement on medium- and small-sized dialogs may be wrong; there are no examples in the spec. * There are sizing/positioning issues with various dialogs (for example, in Javascript popups the title bar is not always long enough to hold the title). BUG=none TEST=none TBR=estade@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118136

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : rebase (assets added in issue 9133011) #

Patch Set 4 : fix win_rel, comments #

Patch Set 5 : rebase, copyright #

Patch Set 6 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -85 lines) Patch
M ash/wm/dialog_frame_view.h View 2 chunks +17 lines, -5 lines 0 comments Download
M ash/wm/dialog_frame_view.cc View 1 2 3 6 chunks +94 lines, -42 lines 0 comments Download
D chrome/app/theme/close_bar.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/close_bar_h.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/close_bar_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/close_bar_p.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/large_close_bar.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/large_close_bar_h.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/large_close_bar_mask.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/large_close_bar_p.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/theme_resources_large.grd View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/app/theme/theme_resources_standard.grd View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/frame/bubble_frame_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/message_bubble.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/first_run/try_chrome_dialog_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/options2/options_page.css View 1 2 3 4 4 chunks +6 lines, -6 lines 1 comment Download
M chrome/browser/ui/gtk/custom_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/download/download_shelf_gtk.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/gtk/find_bar_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/download/download_shelf_view.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/resources/blocked_plugin.html View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/resources/click_to_play_plugin.html View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/resources/disabled_plugin.html View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ui/gfx/insets.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ui/resources/ui_resources_large.grd View 2 chunks +6 lines, -1 line 0 comments Download
M ui/resources/ui_resources_standard.grd View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Ben Goodger (Google)
Before I say LGTM, can you email me some screenshots of a few dialogs with ...
8 years, 11 months ago (2012-01-13 18:14:49 UTC) #1
benrg
http://codereview.chromium.org/9187061/diff/1/ash/wm/dialog_frame_view.cc File ash/wm/dialog_frame_view.cc (right): http://codereview.chromium.org/9187061/diff/1/ash/wm/dialog_frame_view.cc#newcode99 ash/wm/dialog_frame_view.cc:99: // TODO(benrg): what exactly should this method do? On ...
8 years, 11 months ago (2012-01-13 19:12:41 UTC) #2
Ben Goodger (Google)
The alert problem (Page at hostname says:) is a general problem with these dialogs. You ...
8 years, 11 months ago (2012-01-13 20:14:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benrg@chromium.org/9187061/10004
8 years, 11 months ago (2012-01-14 01:41:09 UTC) #4
commit-bot: I haz the power
Presubmit check for 9187061-10004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-14 01:41:26 UTC) #5
benrg
estade, I need your approval for the changes to chrome/browser/, which just update references to ...
8 years, 11 months ago (2012-01-14 02:21:57 UTC) #6
benrg
I'm going to TBR this. Here are the five diffs that need review: http://codereview.chromium.org/9187061/diff/16033/chrome/browser/resources/options/options_page.css http://codereview.chromium.org/9187061/diff/16033/chrome/browser/resources/options2/options_page.css ...
8 years, 11 months ago (2012-01-17 22:31:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benrg@chromium.org/9187061/16033
8 years, 11 months ago (2012-01-17 22:32:20 UTC) #8
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/views/extensions/extension_installed_bubble.cc. While running patch -p1 --forward --force; patching file chrome/browser/ui/views/extensions/extension_installed_bubble.cc ...
8 years, 11 months ago (2012-01-18 04:16:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benrg@chromium.org/9187061/28001
8 years, 11 months ago (2012-01-18 17:24:31 UTC) #10
commit-bot: I haz the power
Change committed as 118136
8 years, 11 months ago (2012-01-18 20:35:46 UTC) #11
Evan Stade
http://codereview.chromium.org/9187061/diff/28001/chrome/browser/resources/options2/options_page.css File chrome/browser/resources/options2/options_page.css (right): http://codereview.chromium.org/9187061/diff/28001/chrome/browser/resources/options2/options_page.css#newcode161 chrome/browser/resources/options2/options_page.css:161: background-image: url('../../../../ui/resources/close_bar_p.png'); why did you do this as opposed ...
8 years, 11 months ago (2012-01-20 00:43:15 UTC) #12
Evan Stade
actually, I see a lot more places where the image will be broken now: $ ...
8 years, 11 months ago (2012-01-20 00:46:25 UTC) #13
Evan Stade
for future reference, if I don't respond right away, it's better to ping me via ...
8 years, 11 months ago (2012-01-20 00:51:05 UTC) #14
xiyuan
I filed http://crbug.com/110828 for tracking chromeos login. My pending fix is http://codereview.chromium.org/9264028/ However, the correct ...
8 years, 11 months ago (2012-01-20 01:03:15 UTC) #15
benrg
8 years, 11 months ago (2012-01-20 01:06:07 UTC) #16
estade, should I back this change out until it's fixed?

Powered by Google App Engine
This is Rietveld 408576698