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

Issue 11360045: ash: Add RootWindowHostFactory class. (Closed)

Created:
8 years, 1 month ago by reveman
Modified:
8 years ago
CC:
chromium-reviews, ben+watch_chromium.org, danakj
Visibility:
Public.

Description

ash: Add RootWindowHostFactory class. This provides a mechanism for creating a RootWindowHost to use in place of the default one that aura::RootWindow will create. This is exposed to consumers of ash through the addition of the CreateRootWindowHostFactory function to the ShellDelegate interface. BUG=124444 TEST=ash_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173080

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase and remove .gitmodules change. #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : Remove RootWindowDelegate and add ash::RootWindowHost. #

Patch Set 6 : Add RootWindowHostFactory class and remove DisplayManagerDelegate. #

Total comments: 2

Patch Set 7 : Remove unnecessary braces and add missing windows_version.h include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -6 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 4 5 2 chunks +3 lines, -6 lines 0 comments Download
A ash/host/root_window_host_factory.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A ash/host/root_window_host_factory.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A ash/host/root_window_host_factory_win.cc View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
reveman
Re-factoring that makes it easier to replace the RootWindowHost. Ben, this is a follow up ...
8 years, 1 month ago (2012-11-01 22:09:44 UTC) #1
danakj
ping for review please :)
8 years ago (2012-12-03 18:26:04 UTC) #2
Ben Goodger (Google)
My latency is bad right now for things not on my critical path, please bear ...
8 years ago (2012-12-11 01:14:02 UTC) #3
reveman
https://chromiumcodereview.appspot.com/11360045/diff/8001/ui/aura/root_window.h File ui/aura/root_window.h (right): https://chromiumcodereview.appspot.com/11360045/diff/8001/ui/aura/root_window.h#newcode75 ui/aura/root_window.h:75: RootWindowDelegate* delegate; On 2012/12/11 01:14:02, Ben Goodger (Google) wrote: ...
8 years ago (2012-12-11 07:23:30 UTC) #4
reveman
Latest patch doesn't have the RootWindow::CreateParams modification or the RootWindowDelegate class. It instead adds an ...
8 years ago (2012-12-11 08:39:23 UTC) #5
Ben Goodger (Google)
instead of the delegate wiring... can you actually look into moving the root_window_host_* impls from ...
8 years ago (2012-12-11 16:37:22 UTC) #6
reveman
On 2012/12/11 16:37:22, Ben Goodger (Google) wrote: > instead of the delegate wiring... can you ...
8 years ago (2012-12-11 17:17:34 UTC) #7
Ben Goodger (Google)
On 2012/12/11 17:17:34, David Reveman wrote: > I don't see how an ash root window ...
8 years ago (2012-12-11 17:54:07 UTC) #8
reveman
Remove DisplayManagerDelegate, added RootWindowHostFactory class and moved code to src/ash/host/. ShellDelegate::CreateRootWindowHostFactory makes it possible to ...
8 years ago (2012-12-12 21:50:58 UTC) #9
Ben Goodger (Google)
Can you run try-jobs against win_aura and linux_aura? https://codereview.chromium.org/11360045/diff/18001/ash/host/root_window_host_factory_win.cc File ash/host/root_window_host_factory_win.cc (right): https://codereview.chromium.org/11360045/diff/18001/ash/host/root_window_host_factory_win.cc#newcode19 ash/host/root_window_host_factory_win.cc:19: if ...
8 years ago (2012-12-12 22:50:15 UTC) #10
reveman
win_aura bot doesn't seem very happy at the moment. win_ash and linux_aura completed successfully and ...
8 years ago (2012-12-13 18:29:19 UTC) #11
Ben Goodger (Google)
Can you ask cpu@ to run your change on win8 to make sure it doesn't ...
8 years ago (2012-12-13 18:56:22 UTC) #12
cpu_(ooo_6.6-7.5)
my client is broken but looks ok. I'll fix it on windows if it breaks ...
8 years ago (2012-12-13 22:30:14 UTC) #13
Ben Goodger (Google)
lgtm
8 years ago (2012-12-13 22:32:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11360045/22001
8 years ago (2012-12-13 23:23:12 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-14 04:13:31 UTC) #16
Message was sent while issue was closed.
Change committed as 173080

Powered by Google App Engine
This is Rietveld 408576698