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

Issue 54983005: Plumb native AppWindow input region through to window shape under Aura. (Closed)

Created:
7 years, 1 month ago by Wez
Modified:
7 years, 1 month ago
CC:
chromium-reviews, tfarina, ben+views_chromium.org
Visibility:
Public.

Description

Plumb native AppWindow input region through to window shape under Aura. This CL also fixes gfk::NativeRegion leaks in DesktopRootWindowHost for Windows & X11. BUG=310932 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233382

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add comment and fix leak for Aura/X11. #

Patch Set 3 : Document NULL-region behaviour for views::Widget::SetShape. #

Patch Set 4 : Fix typo in X11 patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1086 lines, -1063 lines) Patch
M chrome/browser/ui/views/apps/native_app_window_views.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host.h View 1 1 chunk +156 lines, -154 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.cc View 1 1 chunk +9 lines, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 1 2 3 1 chunk +12 lines, -5 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 1 chunk +902 lines, -901 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Wez
PTAL - as you suggested, plumbing through to SetShape() did most of the work. I've ...
7 years, 1 month ago (2013-11-01 00:57:11 UTC) #1
Wez
On 2013/11/01 00:57:11, Wez wrote: > Right now we additionally enforce the > input hit-region ...
7 years, 1 month ago (2013-11-01 01:04:40 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/54983005/diff/1/chrome/browser/ui/views/apps/native_app_window_views.cc File chrome/browser/ui/views/apps/native_app_window_views.cc (right): https://codereview.chromium.org/54983005/diff/1/chrome/browser/ui/views/apps/native_app_window_views.cc#newcode811 chrome/browser/ui/views/apps/native_app_window_views.cc:811: #if defined(USE_AURA) is there a reason this has to ...
7 years, 1 month ago (2013-11-01 16:39:47 UTC) #3
Wez
Incidentally, the gfx::NativeRegion leak made me wonder whether a ScopedNativeRegion would be advisable, which would ...
7 years, 1 month ago (2013-11-01 19:59:33 UTC) #4
Wez
On 2013/11/01 19:59:33, Wez wrote: > Incidentally, the gfx::NativeRegion leak made me wonder whether a ...
7 years, 1 month ago (2013-11-03 04:20:22 UTC) #5
Ben Goodger (Google)
https://codereview.chromium.org/54983005/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc File ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (right): https://codereview.chromium.org/54983005/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc#newcode244 ui/views/widget/desktop_aura/desktop_root_window_host_win.cc:244: delete native_region; was this called for by the method ...
7 years, 1 month ago (2013-11-03 05:12:05 UTC) #6
Wez
https://codereview.chromium.org/54983005/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc File ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (right): https://codereview.chromium.org/54983005/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc#newcode244 ui/views/widget/desktop_aura/desktop_root_window_host_win.cc:244: delete native_region; On 2013/11/03 05:12:05, Ben Goodger (Google) wrote: ...
7 years, 1 month ago (2013-11-03 23:52:02 UTC) #7
Wez
Ping - we need this for M32.
7 years, 1 month ago (2013-11-04 21:07:59 UTC) #8
Ben Goodger (Google)
lgtm, and thanks for fixing the leak!
7 years, 1 month ago (2013-11-04 21:22:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/180001
7 years, 1 month ago (2013-11-04 21:36:37 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 22:44:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-05 02:37:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-05 03:14:00 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 03:59:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-05 04:47:16 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-05 05:32:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-05 06:01:14 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=93811
7 years, 1 month ago (2013-11-05 09:35:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-05 21:23:43 UTC) #19
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=94217
7 years, 1 month ago (2013-11-06 01:33:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-06 01:50:27 UTC) #21
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=94513
7 years, 1 month ago (2013-11-06 06:37:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-06 07:07:28 UTC) #23
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=94692
7 years, 1 month ago (2013-11-06 10:14:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/54983005/380001
7 years, 1 month ago (2013-11-06 18:32:47 UTC) #25
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 21:45:39 UTC) #26
Message was sent while issue was closed.
Change committed as 233382

Powered by Google App Engine
This is Rietveld 408576698