| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ash/accelerators/magnifier_key_scroller.h" | 7 #include "ash/accelerators/magnifier_key_scroller.h" |
| 8 #include "ash/accelerators/spoken_feedback_toggler.h" | 8 #include "ash/accelerators/spoken_feedback_toggler.h" |
| 9 #include "ash/accessibility_delegate.h" | 9 #include "ash/accessibility_delegate.h" |
| 10 #include "ash/wm/mru_window_tracker.h" | 10 #include "ash/wm/mru_window_tracker.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/signin/signin_error_notifier_factory_ash.h" | 25 #include "chrome/browser/signin/signin_error_notifier_factory_ash.h" |
| 26 #include "chrome/browser/speech/tts_controller.h" | 26 #include "chrome/browser/speech/tts_controller.h" |
| 27 #include "chrome/browser/sync/sync_error_notifier_factory_ash.h" | 27 #include "chrome/browser/sync/sync_error_notifier_factory_ash.h" |
| 28 #include "chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.h" | 28 #include "chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.h" |
| 29 #include "chrome/browser/ui/ash/media_delegate_chromeos.h" | 29 #include "chrome/browser/ui/ash/media_delegate_chromeos.h" |
| 30 #include "chrome/browser/ui/ash/session_state_delegate_chromeos.h" | 30 #include "chrome/browser/ui/ash/session_state_delegate_chromeos.h" |
| 31 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h" | 31 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h" |
| 32 #include "chrome/browser/ui/browser.h" | 32 #include "chrome/browser/ui/browser.h" |
| 33 #include "chrome/browser/ui/browser_finder.h" | 33 #include "chrome/browser/ui/browser_finder.h" |
| 34 #include "chrome/browser/ui/browser_window.h" | 34 #include "chrome/browser/ui/browser_window.h" |
| 35 #include "chrome/common/pref_names.h" | |
| 36 #include "chrome/grit/generated_resources.h" | 35 #include "chrome/grit/generated_resources.h" |
| 37 #include "chromeos/chromeos_switches.h" | 36 #include "chromeos/chromeos_switches.h" |
| 38 #include "chromeos/ime/input_method_manager.h" | 37 #include "chromeos/ime/input_method_manager.h" |
| 39 #include "content/public/browser/notification_service.h" | 38 #include "content/public/browser/notification_service.h" |
| 40 #include "content/public/browser/user_metrics.h" | 39 #include "content/public/browser/user_metrics.h" |
| 41 #include "ui/aura/window.h" | 40 #include "ui/aura/window.h" |
| 42 #include "ui/base/l10n/l10n_util.h" | 41 #include "ui/base/l10n/l10n_util.h" |
| 43 | 42 |
| 44 namespace { | 43 namespace { |
| 45 | 44 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 } | 279 } |
| 281 | 280 |
| 282 void ChromeShellDelegate::PlatformInit() { | 281 void ChromeShellDelegate::PlatformInit() { |
| 283 registrar_.Add(this, | 282 registrar_.Add(this, |
| 284 chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 283 chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
| 285 content::NotificationService::AllSources()); | 284 content::NotificationService::AllSources()); |
| 286 registrar_.Add(this, | 285 registrar_.Add(this, |
| 287 chrome::NOTIFICATION_SESSION_STARTED, | 286 chrome::NOTIFICATION_SESSION_STARTED, |
| 288 content::NotificationService::AllSources()); | 287 content::NotificationService::AllSources()); |
| 289 } | 288 } |
| OLD | NEW |