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

Issue 12342028: make menus, bubbles, etc. top level windows on aura (Closed)

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

Description

make menus, bubbles, etc. top level windows on aura Makes these windows top-level so they interact with the system better (and also maintain focus better in some cases) Two additional delegations: - One to notify when the animation is complete because when closing a window the root window close needs to be deferred until after the animation is complete. - One to add extra space to the root window used during animations. R=sky@chromium.org BUG=175016, 175833, 179786, 180071, 181175 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190446

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix toplevel #

Patch Set 4 : . #

Patch Set 5 : add delegate function to notify about end of animation #

Patch Set 6 : don't close on hide completion unless it started from a close #

Patch Set 7 : wip on separate bounds for host window #

Patch Set 8 : . #

Patch Set 9 : remove debugging code, fix expansion lying #

Patch Set 10 : fix test delegate, remove debug flag #

Patch Set 11 : fix linux #

Patch Set 12 : fix aura_demo #

Patch Set 13 : focus between windows, immediate effect for hide for toplevel windows #

Patch Set 14 : . #

Patch Set 15 : linux #

Patch Set 16 : more linux #

Patch Set 17 : . #

Patch Set 18 : fixes for menus #

Patch Set 19 : . #

Patch Set 20 : . #

Patch Set 21 : don't wait for anims if we're not animating #

Patch Set 22 : . #

Total comments: 26

Patch Set 23 : review fixes #

Total comments: 18

Patch Set 24 : move host adjustment/notification to separate interface #

Patch Set 25 : add animation_host.* #

Total comments: 5

Patch Set 26 : move to drwhw #

Total comments: 4

Patch Set 27 : comment fixes and rebase #

Patch Set 28 : . #

Patch Set 29 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -115 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +12 lines, -0 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -0 lines 0 comments Download
A ui/aura/client/animation_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +42 lines, -0 lines 0 comments Download
A ui/aura/client/animation_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +32 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +6 lines, -3 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +16 lines, -16 lines 0 comments Download
M ui/views/corewm/window_animations.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +55 lines, -1 line 0 comments Download
M ui/views/corewm/window_animations_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +34 lines, -88 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +13 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +24 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 7 chunks +53 lines, -7 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
scottmg
7 years, 9 months ago (2013-03-07 22:57:30 UTC) #1
sky
Before I review this can you run through all the tests to make sure there ...
7 years, 9 months ago (2013-03-07 23:00:36 UTC) #2
scottmg
Hey Scott, the tests are clean on this now. Could you please take a look?
7 years, 9 months ago (2013-03-14 18:07:16 UTC) #3
sky
https://codereview.chromium.org/12342028/diff/84001/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/12342028/diff/84001/chrome/browser/ui/views/chrome_views_delegate.cc#newcode217 chrome/browser/ui/views/chrome_views_delegate.cc:217: #if defined(OS_WIN) && defined(USE_AURA) Why is this windows specific, ...
7 years, 9 months ago (2013-03-14 20:06:37 UTC) #4
scottmg
Thanks! (I apologize, I accidentally rebased. If you're looking at the 22->23 diff, I noted ...
7 years, 9 months ago (2013-03-14 22:51:53 UTC) #5
sky
I'm adding Ben to the review too as this is going to result in a ...
7 years, 9 months ago (2013-03-15 03:15:05 UTC) #6
scottmg
Thanks > I'm adding Ben to the review too as this is going to result ...
7 years, 9 months ago (2013-03-15 22:23:46 UTC) #7
Ben Goodger (Google)
looks like you skipped adding animation_host* please add them. in general I like the look ...
7 years, 9 months ago (2013-03-15 22:31:47 UTC) #8
scottmg
On 2013/03/15 22:31:47, Ben Goodger (Google) wrote: > looks like you skipped adding animation_host* please ...
7 years, 9 months ago (2013-03-15 22:33:53 UTC) #9
sky
https://codereview.chromium.org/12342028/diff/83018/ui/views/corewm/window_animations.cc File ui/views/corewm/window_animations.cc (right): https://codereview.chromium.org/12342028/diff/83018/ui/views/corewm/window_animations.cc#newcode213 ui/views/corewm/window_animations.cc:213: gfx::Rect world_at_start = Can you early out here if ...
7 years, 9 months ago (2013-03-18 15:49:42 UTC) #10
scottmg
https://codereview.chromium.org/12342028/diff/83018/ui/views/corewm/window_animations.cc File ui/views/corewm/window_animations.cc (right): https://codereview.chromium.org/12342028/diff/83018/ui/views/corewm/window_animations.cc#newcode213 ui/views/corewm/window_animations.cc:213: gfx::Rect world_at_start = On 2013/03/18 15:49:42, sky wrote: > ...
7 years, 9 months ago (2013-03-18 21:47:48 UTC) #11
sky
LGTM
7 years, 9 months ago (2013-03-18 22:16:00 UTC) #12
Ben Goodger (Google)
verrah nice, lgtm https://codereview.chromium.org/12342028/diff/132001/ui/aura/client/animation_host.h File ui/aura/client/animation_host.h (right): https://codereview.chromium.org/12342028/diff/132001/ui/aura/client/animation_host.h#newcode19 ui/aura/client/animation_host.h:19: class AURA_EXPORT AnimationHost { document purpose. ...
7 years, 9 months ago (2013-03-18 22:32:05 UTC) #13
scottmg
https://codereview.chromium.org/12342028/diff/132001/ui/aura/client/animation_host.h File ui/aura/client/animation_host.h (right): https://codereview.chromium.org/12342028/diff/132001/ui/aura/client/animation_host.h#newcode19 ui/aura/client/animation_host.h:19: class AURA_EXPORT AnimationHost { On 2013/03/18 22:32:06, Ben Goodger ...
7 years, 9 months ago (2013-03-19 04:12:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/12342028/139001
7 years, 9 months ago (2013-03-19 04:12:54 UTC) #15
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-19 04:22:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/12342028/139001
7 years, 9 months ago (2013-03-19 16:11:19 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=25572
7 years, 9 months ago (2013-03-19 19:06:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/12342028/158001
7 years, 9 months ago (2013-03-19 21:02:38 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) views_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=25682
7 years, 9 months ago (2013-03-19 22:33:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/12342028/170001
7 years, 9 months ago (2013-03-20 00:47:39 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) views_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=25786
7 years, 9 months ago (2013-03-20 02:44:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/12342028/174003
7 years, 9 months ago (2013-03-25 16:11:15 UTC) #23
commit-bot: I haz the power
7 years, 9 months ago (2013-03-25 18:39:04 UTC) #24
Message was sent while issue was closed.
Change committed as 190446

Powered by Google App Engine
This is Rietveld 408576698