|
Refactored the disconnect window such that it can be owned by the desktop environment.
This CL adds two new classes: HostWindow and HostWindowProxy. HostWindow is a non thread-safe base class for platform-specific implementations of the disconnect and continue windows. HostWindowProxy implements thread switching logic (using a ref-counted HostWindowProxy::Core).
The combination of HostWindow and HostWindowProxy allows DesktopEnvironment to create the disconnect window on the network thread and run it on the UI thread.
This is the 1st CL (out of 2) that deprecates the HostUserInterface class and moves responsibility to create the local UI to the corresponding DesktopEnvironment instances. The follow up CL will migrate the continue window logic.
BUG= 104544
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192473
Total comments: 9
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+584 lines, -363 lines) |
Patch |
 |
M |
remoting/host/basic_desktop_environment.h
|
View
|
1
|
7 chunks |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/basic_desktop_environment.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+44 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/chromoting_host_unittest.cc
|
View
|
|
5 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_process_main.cc
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_process_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_session_agent.h
|
View
|
|
4 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_session_agent.cc
|
View
|
|
5 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
remoting/host/disconnect_window.h
|
View
|
1
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
remoting/host/disconnect_window_gtk.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+76 lines, -71 lines |
0 comments
|
Download
|
 |
M |
remoting/host/disconnect_window_mac.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/disconnect_window_mac.mm
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+41 lines, -32 lines |
0 comments
|
Download
|
 |
M |
remoting/host/disconnect_window_win.cc
|
View
|
1
2
3
4
5
6
|
15 chunks |
+70 lines, -64 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_mock_objects.h
|
View
|
1
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_mock_objects.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_user_interface.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_user_interface.cc
|
View
|
|
4 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
A |
remoting/host/host_window.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/host_window_proxy.h
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/host_window_proxy.cc
|
View
|
1
2
3
|
1 chunk |
+177 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/ipc_desktop_environment_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/it2me_host_user_interface.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/me2me_desktop_environment.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/me2me_desktop_environment.cc
|
View
|
1
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/plugin/host_script_object.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/remoting_me2me_host.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+6 lines, -35 lines |
0 comments
|
Download
|
 |
M |
remoting/host/win/session_desktop_environment.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/win/session_desktop_environment.cc
|
View
|
|
3 chunks |
+19 lines, -14 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|