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

Issue 13925019: fix GridLayout::CreatePanel for new style dialogs (Closed)

Created:
7 years, 8 months ago by Evan Stade
Modified:
7 years, 8 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, yoshiki+watch_chromium.org
Visibility:
Public.

Description

fix GridLayout::CreatePanel for new style dialogs BUG=231523 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194688

Patch Set 1 #

Patch Set 2 : remove instance of CreatePanel that doesn't seem to serve any purpose #

Total comments: 5

Patch Set 3 : slight clean-up #

Total comments: 3

Patch Set 4 : audit all DialogDelegates I could find. #

Patch Set 5 : a couple more #

Patch Set 6 : . #

Total comments: 23

Patch Set 7 : msw review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -71 lines) Patch
M chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/confirm_bubble_views.cc View 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc View 1 2 3 4 5 6 5 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc View 1 2 3 3 chunks +12 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/importer/import_lock_dialog_view.cc View 1 2 3 1 chunk +13 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 6 2 chunks +9 lines, -6 lines 0 comments Download
M ui/views/controls/message_box_view.h View 1 2 3 4 5 2 chunks +0 lines, -10 lines 0 comments Download
M ui/views/controls/message_box_view.cc View 1 2 3 3 chunks +1 line, -12 lines 0 comments Download
M ui/views/layout/grid_layout.cc View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M ui/views/layout/layout_constants.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Evan Stade
7 years, 8 months ago (2013-04-15 22:19:50 UTC) #1
msw
https://codereview.chromium.org/13925019/diff/3001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/13925019/diff/3001/chrome/browser/ui/views/task_manager_view.cc#newcode501 chrome/browser/ui/views/task_manager_view.cc:501: (new_style ? views::kPanelHorizMarginNewStyle : views::kPanelHorizMargin); nit: make a local ...
7 years, 8 months ago (2013-04-15 22:48:37 UTC) #2
Evan Stade
https://codereview.chromium.org/13925019/diff/3001/ui/views/layout/grid_layout.cc File ui/views/layout/grid_layout.cc (right): https://codereview.chromium.org/13925019/diff/3001/ui/views/layout/grid_layout.cc#newcode680 ui/views/layout/grid_layout.cc:680: int horizontal_margin = DialogDelegate::UseNewStyle() ? On 2013/04/15 22:48:37, msw ...
7 years, 8 months ago (2013-04-15 23:52:53 UTC) #3
Evan Stade
TaskManagerView fixed. https://codereview.chromium.org/13925019/diff/3001/chrome/browser/ui/views/task_manager_view.cc File chrome/browser/ui/views/task_manager_view.cc (right): https://codereview.chromium.org/13925019/diff/3001/chrome/browser/ui/views/task_manager_view.cc#newcode501 chrome/browser/ui/views/task_manager_view.cc:501: (new_style ? views::kPanelHorizMarginNewStyle : views::kPanelHorizMargin); On 2013/04/15 ...
7 years, 8 months ago (2013-04-16 00:20:37 UTC) #4
msw
LGTM with a couple nits. Please post before/after pics. https://codereview.chromium.org/13925019/diff/3001/ui/views/layout/grid_layout.cc File ui/views/layout/grid_layout.cc (right): https://codereview.chromium.org/13925019/diff/3001/ui/views/layout/grid_layout.cc#newcode680 ui/views/layout/grid_layout.cc:680: ...
7 years, 8 months ago (2013-04-16 00:53:21 UTC) #5
Evan Stade
+sky some of these are pretty hard to trigger, like the ImportLockDialogView. Before and after ...
7 years, 8 months ago (2013-04-16 01:39:39 UTC) #6
msw
Screenshots of one or two example dialogs would be nice. (perhaps just after pics, if ...
7 years, 8 months ago (2013-04-16 01:58:24 UTC) #7
Evan Stade
Scott, sorry for lack of context. I added you for OWNERS review of pretty much ...
7 years, 8 months ago (2013-04-16 19:58:25 UTC) #8
msw
LGTM, thanks!
7 years, 8 months ago (2013-04-16 21:19:09 UTC) #9
sky
LGTM
7 years, 8 months ago (2013-04-16 22:01:02 UTC) #10
Evan Stade
7 years, 8 months ago (2013-04-17 21:43:15 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r194688 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698