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

Issue 14742002: Render opaque border with no shadow for web contents modal dialogs under Views/Win32 (Closed)

Created:
7 years, 7 months ago by Mike Wittman
Modified:
7 years, 7 months ago
CC:
chromium-reviews, tfarina, alicet1, msw, stromme, mgaba, Albert Bodenhamer
Visibility:
Public.

Description

Render opaque border with no shadow for web contents modal dialogs under Views/Win32 This is a temporary kludge to get web contents modal dialog frames displaying acceptably under Views/Win32. It's not possible to use transparency in the frames on Win7 and earlier OSes unless the web contents modal dialogs are top-level windows, which is undesirable. Making web contents modal dialogs top-level imposes additional complexities and burdens on managing focus, activation, and window position relative to the browser window, soley for the View/Win32 case. It's best to avoid this since we won't need it once we transition to Aura. See screenshots at http://crbug.com/231012#c6. BUG=231012, 166075 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198491 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198604

Patch Set 1 #

Patch Set 2 : Add missing USE_AURA check #

Total comments: 2

Patch Set 3 : Address review comment #

Patch Set 4 : Fix ChromeOS build failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -5 lines) Patch
M chrome/browser/ui/views/constrained_window_views.cc View 1 2 3 chunks +19 lines, -2 lines 0 comments Download
M ui/views/bubble/bubble_border.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/bubble/bubble_border.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 2 chunks +39 lines, -1 line 0 comments Download
M ui/views/window/dialog_delegate.h View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/window/dialog_delegate.cc View 2 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Mike Wittman
Ben, PTAL
7 years, 7 months ago (2013-05-02 01:12:38 UTC) #1
Ben Goodger (Google)
lgtm https://codereview.chromium.org/14742002/diff/3001/chrome/browser/ui/views/constrained_window_views.cc File chrome/browser/ui/views/constrained_window_views.cc (right): https://codereview.chromium.org/14742002/diff/3001/chrome/browser/ui/views/constrained_window_views.cc#newcode118 chrome/browser/ui/views/constrained_window_views.cc:118: views::Border *border = views::Border*
7 years, 7 months ago (2013-05-02 19:38:31 UTC) #2
Mike Wittman
https://codereview.chromium.org/14742002/diff/3001/chrome/browser/ui/views/constrained_window_views.cc File chrome/browser/ui/views/constrained_window_views.cc (right): https://codereview.chromium.org/14742002/diff/3001/chrome/browser/ui/views/constrained_window_views.cc#newcode118 chrome/browser/ui/views/constrained_window_views.cc:118: views::Border *border = On 2013/05/02 19:38:31, Ben Goodger (Google) ...
7 years, 7 months ago (2013-05-02 20:37:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wittman@chromium.org/14742002/8001
7 years, 7 months ago (2013-05-03 21:47:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wittman@chromium.org/14742002/8001
7 years, 7 months ago (2013-05-03 23:14:02 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=143963
7 years, 7 months ago (2013-05-04 04:37:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wittman@chromium.org/14742002/8001
7 years, 7 months ago (2013-05-06 17:02:49 UTC) #7
commit-bot: I haz the power
Change committed as 198491
7 years, 7 months ago (2013-05-06 18:48:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wittman@chromium.org/14742002/42001
7 years, 7 months ago (2013-05-06 22:51:38 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=124631
7 years, 7 months ago (2013-05-07 00:01:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wittman@chromium.org/14742002/42001
7 years, 7 months ago (2013-05-07 00:07:10 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 03:12:17 UTC) #12
Message was sent while issue was closed.
Change committed as 198604

Powered by Google App Engine
This is Rietveld 408576698