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

Issue 277753002: Makes construction of (ash)RemoteWindowTreeHostWin explicit (Closed)

Created:
6 years, 7 months ago by sky
Modified:
6 years, 7 months ago
Reviewers:
ananta
CC:
chromium-reviews, kalyank, ben+aura_chromium.org, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

Makes construction of (ash)RemoteWindowTreeHostWin explicit I need to do this as I need to pass in state to the constructor and I can't do that with lazy construction. This makes creation a little saner anyway. I'm not happy about the static setting the HWND. I'll see if I can clean that up later. BUG=none TEST=none R=ananta@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270747

Patch Set 1 #

Patch Set 2 : merge 2 trunk #

Patch Set 3 : remove static #

Patch Set 4 : cleanup #

Patch Set 5 : merge 2 trunk #

Patch Set 6 : update test code #

Patch Set 7 : merge #

Patch Set 8 : merge and add include #

Patch Set 9 : fix ash #

Patch Set 10 : merge to trunk again #

Patch Set 11 : Fix ash_shell_unittests #

Patch Set 12 : fix vieweventtestbase #

Patch Set 13 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -117 lines) Patch
M ash/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M ash/accessibility_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M ash/display/display_controller.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +13 lines, -7 lines 0 comments Download
M ash/display/mirror_window_controller.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ash/display/virtual_keyboard_window_controller.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ash/host/ash_remote_window_tree_host_win.h View 1 2 3 2 chunks +3 lines, -9 lines 0 comments Download
M ash/host/ash_remote_window_tree_host_win.cc View 1 2 1 chunk +5 lines, -23 lines 0 comments Download
M ash/host/ash_window_tree_host.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
A ash/host/ash_window_tree_host_init_params.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
A ash/host/ash_window_tree_host_init_params.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ash/host/ash_window_tree_host_ozone.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ash/host/ash_window_tree_host_win.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 6 chunks +17 lines, -5 lines 0 comments Download
M ash/shell/content_client/shell_browser_main_parts.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M ash/shell/window_watcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download
A ash/shell_init_params.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A ash/shell_init_params.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M ash/test/test_metro_viewer_process_host.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc View 1 2 3 4 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/ash_init.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/ash_init.cc View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/ash_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/view_event_test_base.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M ui/aura/remote_window_tree_host_win.h View 1 2 3 4 5 6 2 chunks +8 lines, -16 lines 0 comments Download
M ui/aura/remote_window_tree_host_win.cc View 1 2 3 4 3 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 66 (0 generated)
sky
6 years, 7 months ago (2014-05-08 23:46:05 UTC) #1
ananta
On 2014/05/08 23:46:05, sky wrote: I tested the patch by launching ASH in Windows 8. ...
6 years, 7 months ago (2014-05-10 01:04:52 UTC) #2
sky
On 2014/05/10 01:04:52, ananta wrote: > On 2014/05/08 23:46:05, sky wrote: > > I tested ...
6 years, 7 months ago (2014-05-10 02:25:40 UTC) #3
sky
Of course I'll need you to actually review the patch too:)
6 years, 7 months ago (2014-05-12 15:27:34 UTC) #4
ananta
LGTM. Please add some commentary somewhere as to how this jigsaw puzzle fits together. Longer ...
6 years, 7 months ago (2014-05-12 19:45:23 UTC) #5
sky
I started renaming the static then realized I should clean it all up now. So, ...
6 years, 7 months ago (2014-05-12 23:15:03 UTC) #6
sky
This seems to work fine when run with -ServerName:DefaultBrowserServer.
6 years, 7 months ago (2014-05-13 14:42:48 UTC) #7
ananta
lgtm
6 years, 7 months ago (2014-05-13 17:02:43 UTC) #8
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-13 17:22:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/60001
6 years, 7 months ago (2014-05-13 17:23:07 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 17:52:00 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 17:56:45 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/3863) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67417) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-13 17:56:46 UTC) #13
sky
I merged to trunk and had to merge with your changes. I renamed InitializeRemoteWindowAndScaleFactor back ...
6 years, 7 months ago (2014-05-13 19:40:22 UTC) #14
ananta
lgtm
6 years, 7 months ago (2014-05-13 19:46:52 UTC) #15
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-13 19:47:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/100001
6 years, 7 months ago (2014-05-13 19:48:04 UTC) #17
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-13 22:11:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/110001
6 years, 7 months ago (2014-05-13 22:12:57 UTC) #19
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-13 23:24:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/130001
6 years, 7 months ago (2014-05-13 23:25:36 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 03:56:19 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 04:00:24 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26385)
6 years, 7 months ago (2014-05-14 04:00:25 UTC) #24
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 04:16:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/130001
6 years, 7 months ago (2014-05-14 04:17:32 UTC) #26
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 04:44:45 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/150001
6 years, 7 months ago (2014-05-14 04:45:34 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 06:46:08 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 06:49:08 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67567) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26417) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-14 06:49:09 UTC) #31
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 13:44:16 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/150001
6 years, 7 months ago (2014-05-14 13:44:56 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 14:54:24 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 14:58:28 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/4198) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67622) linux_chromium_chromeos_rel ...
6 years, 7 months ago (2014-05-14 14:58:29 UTC) #36
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 16:52:25 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/150001
6 years, 7 months ago (2014-05-14 16:52:53 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 17:08:03 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 17:10:40 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/31292)
6 years, 7 months ago (2014-05-14 17:10:41 UTC) #41
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 17:30:04 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/150001
6 years, 7 months ago (2014-05-14 17:30:45 UTC) #43
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 17:46:01 UTC) #44
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 17:49:44 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/4256) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67656) linux_chromium_chromeos_rel ...
6 years, 7 months ago (2014-05-14 17:49:45 UTC) #46
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 19:06:11 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/170001
6 years, 7 months ago (2014-05-14 19:07:30 UTC) #48
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 20:23:28 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/190001
6 years, 7 months ago (2014-05-14 20:25:06 UTC) #50
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-14 20:54:03 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/210001
6 years, 7 months ago (2014-05-14 20:55:28 UTC) #52
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 00:48:36 UTC) #53
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 00:51:19 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/152114)
6 years, 7 months ago (2014-05-15 00:51:20 UTC) #55
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-15 03:07:29 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/210001
6 years, 7 months ago (2014-05-15 03:09:14 UTC) #57
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 04:00:03 UTC) #58
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 05:52:12 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/27134)
6 years, 7 months ago (2014-05-15 05:52:13 UTC) #60
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-15 14:33:45 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/210001
6 years, 7 months ago (2014-05-15 14:35:23 UTC) #62
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-15 15:23:17 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/277753002/230001
6 years, 7 months ago (2014-05-15 15:24:53 UTC) #64
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 17:08:19 UTC) #65
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 18:32:25 UTC) #66
Message was sent while issue was closed.
Change committed as 270747

Powered by Google App Engine
This is Rietveld 408576698