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

Side by Side Diff: ash/shell.cc

Issue 253063002: CleanUp: Introduce UserInfo. Move session_state stuff to ash/session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/shell/app_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/accelerators/accelerator_controller.h" 10 #include "ash/accelerators/accelerator_controller.h"
(...skipping 18 matching lines...) Expand all
29 #include "ash/focus_cycler.h" 29 #include "ash/focus_cycler.h"
30 #include "ash/frame/custom_frame_view_ash.h" 30 #include "ash/frame/custom_frame_view_ash.h"
31 #include "ash/gpu_support.h" 31 #include "ash/gpu_support.h"
32 #include "ash/high_contrast/high_contrast_controller.h" 32 #include "ash/high_contrast/high_contrast_controller.h"
33 #include "ash/keyboard_uma_event_filter.h" 33 #include "ash/keyboard_uma_event_filter.h"
34 #include "ash/magnifier/magnification_controller.h" 34 #include "ash/magnifier/magnification_controller.h"
35 #include "ash/magnifier/partial_magnification_controller.h" 35 #include "ash/magnifier/partial_magnification_controller.h"
36 #include "ash/media_delegate.h" 36 #include "ash/media_delegate.h"
37 #include "ash/new_window_delegate.h" 37 #include "ash/new_window_delegate.h"
38 #include "ash/root_window_controller.h" 38 #include "ash/root_window_controller.h"
39 #include "ash/session_state_delegate.h" 39 #include "ash/session/session_state_delegate.h"
40 #include "ash/shelf/app_list_shelf_item_delegate.h" 40 #include "ash/shelf/app_list_shelf_item_delegate.h"
41 #include "ash/shelf/shelf_delegate.h" 41 #include "ash/shelf/shelf_delegate.h"
42 #include "ash/shelf/shelf_item_delegate.h" 42 #include "ash/shelf/shelf_item_delegate.h"
43 #include "ash/shelf/shelf_item_delegate_manager.h" 43 #include "ash/shelf/shelf_item_delegate_manager.h"
44 #include "ash/shelf/shelf_layout_manager.h" 44 #include "ash/shelf/shelf_layout_manager.h"
45 #include "ash/shelf/shelf_model.h" 45 #include "ash/shelf/shelf_model.h"
46 #include "ash/shelf/shelf_widget.h" 46 #include "ash/shelf/shelf_widget.h"
47 #include "ash/shelf/shelf_window_watcher.h" 47 #include "ash/shelf/shelf_window_watcher.h"
48 #include "ash/shell_delegate.h" 48 #include "ash/shell_delegate.h"
49 #include "ash/shell_factory.h" 49 #include "ash/shell_factory.h"
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 //////////////////////////////////////////////////////////////////////////////// 1116 ////////////////////////////////////////////////////////////////////////////////
1117 // Shell, aura::client::ActivationChangeObserver implementation: 1117 // Shell, aura::client::ActivationChangeObserver implementation:
1118 1118
1119 void Shell::OnWindowActivated(aura::Window* gained_active, 1119 void Shell::OnWindowActivated(aura::Window* gained_active,
1120 aura::Window* lost_active) { 1120 aura::Window* lost_active) {
1121 if (gained_active) 1121 if (gained_active)
1122 target_root_window_ = gained_active->GetRootWindow(); 1122 target_root_window_ = gained_active->GetRootWindow();
1123 } 1123 }
1124 1124
1125 } // namespace ash 1125 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/shell/app_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698