|
Add ash SessionStateDelegate
This CL refactors the ShellDelegate by adding a SessionStateDelegate to
which methods dealing with the session state can be moved. This cleans up
the huge ShellDelegate interface and paves the way for further Chrome OS
multiprofile work which will need to add several new methods related to
the session state.
This CL is only the first step. Several other methods should also move to
SessionStateDelegate but I do not want to overburden a single CL.
BUG=None
TEST=Manual and browser/unit tests
TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194578
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+553 lines, -344 lines) |
Patch |
|
M |
ash/accelerators/accelerator_controller.cc
|
View
|
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
ash/accelerators/nested_dispatcher_controller_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/ash.gyp
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/desktop_background/desktop_background_view.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/root_window_controller.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/root_window_controller_unittest.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
A |
ash/session_state_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/session_state_delegate_stub.h
|
View
|
1
2
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/session_state_delegate_stub.cc
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/shelf/shelf_widget.cc
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
ash/shell.h
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
ash/shell.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
ash/shell/app_list.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/shell/lock_view.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/shell/shell_delegate_impl.h
|
View
|
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
ash/shell/shell_delegate_impl.cc
|
View
|
|
5 chunks |
+6 lines, -32 lines |
0 comments
|
Download
|
|
M |
ash/shell/window_type_launcher.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/shell_delegate.h
|
View
|
|
4 chunks |
+4 lines, -22 lines |
0 comments
|
Download
|
|
M |
ash/shell_unittest.cc
|
View
|
1
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
ash/system/date/tray_date.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/system/tray/test_system_tray_delegate.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/test/ash_test_base.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
A |
ash/test/test_session_state_delegate.h
|
View
|
1
2
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/test/test_session_state_delegate.cc
|
View
|
1
2
3
4
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/test/test_shell_delegate.h
|
View
|
|
4 chunks |
+6 lines, -32 lines |
0 comments
|
Download
|
|
M |
ash/test/test_shell_delegate.cc
|
View
|
|
5 chunks |
+15 lines, -50 lines |
0 comments
|
Download
|
|
M |
ash/wm/event_client_impl.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/wm/gestures/shelf_gesture_handler.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/wm/power_button_controller.cc
|
View
|
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
ash/wm/power_button_controller_unittest.cc
|
View
|
1
|
11 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
|
M |
ash/wm/session_state_controller_impl2_unittest.cc
|
View
|
1
|
7 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
ash/wm/stacking_controller.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/wm/system_modal_container_layout_manager.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
ash/wm/system_modal_container_layout_manager_unittest.cc
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ash/wm/window_cycle_controller.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/wm/window_cycle_controller_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/wm/workspace/workspace_cycler.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/wm/workspace/workspace_layout_manager.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/dbus/printer_service_provider.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/idle_chromeos.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/chrome_shell_delegate.h
|
View
|
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/chrome_shell_delegate.cc
|
View
|
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
|
View
|
|
4 chunks |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/chrome_shell_delegate_views.cc
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/ash/session_state_delegate.h
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/ash/session_state_delegate_chromeos.cc
|
View
|
1
2
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/ash/session_state_delegate_views.cc
|
View
|
1
2
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|