| 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" | 11 #include "ash/accessibility_delegate.h" |
| 12 #include "ash/aura/wm_window_aura.h" | 12 #include "ash/aura/wm_window_aura.h" |
| 13 #include "ash/common/wm/mru_window_tracker.h" |
| 13 #include "ash/common/wm/window_state.h" | 14 #include "ash/common/wm/window_state.h" |
| 14 #include "ash/container_delegate_aura.h" | 15 #include "ash/container_delegate_aura.h" |
| 15 #include "ash/content/gpu_support_impl.h" | 16 #include "ash/content/gpu_support_impl.h" |
| 16 #include "ash/pointer_watcher_delegate_aura.h" | 17 #include "ash/pointer_watcher_delegate_aura.h" |
| 17 #include "ash/session/session_state_delegate.h" | 18 #include "ash/session/session_state_delegate.h" |
| 18 #include "ash/wm/mru_window_tracker.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" |
| 23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
| 24 #include "chrome/browser/app_mode/app_mode_utils.h" | 24 #include "chrome/browser/app_mode/app_mode_utils.h" |
| 25 #include "chrome/browser/chrome_notification_types.h" | 25 #include "chrome/browser/chrome_notification_types.h" |
| 26 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 26 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 27 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 27 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
| 28 #include "chrome/browser/chromeos/background/ash_user_wallpaper_delegate.h" | 28 #include "chrome/browser/chromeos/background/ash_user_wallpaper_delegate.h" |
| (...skipping 531 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 |