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

Issue 13896011: Make javascript dialogs into top-level windows. (Closed)

Created:
7 years, 8 months ago by robertshield
Modified:
7 years, 7 months ago
CC:
chromium-reviews, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

Make javascript dialogs into top-level windows for desktop aura. Also, correct aura window sizing on desktop aura for Windows. BUG=230935, 234558, 225252 TEST=NONE (yet) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197949

Patch Set 1 #

Patch Set 2 : Prevent focus from being set to a window when the rules disallow it (rather than DCHECKing that thi… #

Patch Set 3 : Update comments. #

Total comments: 2

Patch Set 4 : Restore DCHECK in FocusController::SetFocusedWindow and instead filter out non-activatable windows … #

Patch Set 5 : Unbreak Linux builders. #

Patch Set 6 : Correct window bounds calculations for native dialogs on desktop windows aura. #

Total comments: 2

Patch Set 7 : "Move GetWindowBoundsForClientBounds code out to hwnd_utils" #

Patch Set 8 : Fix non-aura build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -8 lines) Patch
M chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M ui/views/win/hwnd_util.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_util_aurawin.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_util_win.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M ui/views/window/native_frame_view.cc View 1 2 3 4 5 6 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
robertshield
Ben, please could you take a look at this tiny change to the focus controller ...
7 years, 8 months ago (2013-04-24 16:02:11 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/13896011/diff/9001/ui/views/corewm/focus_controller.cc File ui/views/corewm/focus_controller.cc (right): https://codereview.chromium.org/13896011/diff/9001/ui/views/corewm/focus_controller.cc#newcode261 ui/views/corewm/focus_controller.cc:261: if (!rules_->CanFocusWindow(window)) I'm not happy with this. I've made ...
7 years, 8 months ago (2013-04-25 17:19:28 UTC) #2
robertshield
I found an alternate, nicer way of detecting non-focusable windows. I also discovered while doing ...
7 years, 8 months ago (2013-04-26 18:40:42 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/13896011/diff/23001/ui/views/window/native_frame_view.cc File ui/views/window/native_frame_view.cc (right): https://codereview.chromium.org/13896011/diff/23001/ui/views/window/native_frame_view.cc#newcode40 ui/views/window/native_frame_view.cc:40: gfx::AcceleratedWidget hwnd = window->GetAcceleratedWidget(); do we have a util ...
7 years, 7 months ago (2013-04-29 16:21:54 UTC) #4
robertshield
https://codereview.chromium.org/13896011/diff/23001/ui/views/window/native_frame_view.cc File ui/views/window/native_frame_view.cc (right): https://codereview.chromium.org/13896011/diff/23001/ui/views/window/native_frame_view.cc#newcode40 ui/views/window/native_frame_view.cc:40: gfx::AcceleratedWidget hwnd = window->GetAcceleratedWidget(); On 2013/04/29 16:21:55, Ben Goodger ...
7 years, 7 months ago (2013-04-29 21:49:59 UTC) #5
Ben Goodger (Google)
lgtm
7 years, 7 months ago (2013-04-30 19:22:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/13896011/38001
7 years, 7 months ago (2013-04-30 19:59:19 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=141708
7 years, 7 months ago (2013-04-30 23:33:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/13896011/38001
7 years, 7 months ago (2013-05-01 17:52:23 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-01 18:13:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/13896011/38001
7 years, 7 months ago (2013-05-02 17:16:47 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-02 18:53:38 UTC) #12
Message was sent while issue was closed.
Change committed as 197949

Powered by Google App Engine
This is Rietveld 408576698