OLD | NEW |
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 "chrome/browser/ui/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "ash/accelerators/magnifier_key_scroller.h" | 9 #include "ash/accelerators/magnifier_key_scroller.h" |
10 #include "ash/accelerators/spoken_feedback_toggler.h" | 10 #include "ash/accelerators/spoken_feedback_toggler.h" |
11 #include "ash/accessibility_delegate.h" | |
12 #include "ash/aura/wm_window_aura.h" | 11 #include "ash/aura/wm_window_aura.h" |
| 12 #include "ash/common/accessibility_delegate.h" |
13 #include "ash/common/wm/mru_window_tracker.h" | 13 #include "ash/common/wm/mru_window_tracker.h" |
14 #include "ash/common/wm/window_state.h" | 14 #include "ash/common/wm/window_state.h" |
15 #include "ash/container_delegate_aura.h" | 15 #include "ash/container_delegate_aura.h" |
16 #include "ash/content/gpu_support_impl.h" | 16 #include "ash/content/gpu_support_impl.h" |
17 #include "ash/pointer_watcher_delegate_aura.h" | 17 #include "ash/pointer_watcher_delegate_aura.h" |
18 #include "ash/session/session_state_delegate.h" | 18 #include "ash/session/session_state_delegate.h" |
19 #include "ash/wm/window_util.h" | 19 #include "ash/wm/window_util.h" |
20 #include "base/command_line.h" | 20 #include "base/command_line.h" |
21 #include "base/macros.h" | 21 #include "base/macros.h" |
22 #include "base/memory/ptr_util.h" | 22 #include "base/memory/ptr_util.h" |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 NOTREACHED() << "Unexpected notification " << type; | 560 NOTREACHED() << "Unexpected notification " << type; |
561 } | 561 } |
562 } | 562 } |
563 | 563 |
564 void ChromeShellDelegate::PlatformInit() { | 564 void ChromeShellDelegate::PlatformInit() { |
565 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 565 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
566 content::NotificationService::AllSources()); | 566 content::NotificationService::AllSources()); |
567 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, | 567 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, |
568 content::NotificationService::AllSources()); | 568 content::NotificationService::AllSources()); |
569 } | 569 } |
OLD | NEW |