| 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/keyboard_overlay/keyboard_overlay_view.h" | 7 #include "ash/keyboard_overlay/keyboard_overlay_view.h" |
| 8 #include "ash/wm/window_util.h" | 8 #include "ash/wm/window_util.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/browser/profiles/profile_manager.h" | 22 #include "chrome/browser/profiles/profile_manager.h" |
| 23 #include "chrome/browser/speech/tts_controller.h" | 23 #include "chrome/browser/speech/tts_controller.h" |
| 24 #include "chrome/browser/ui/ash/caps_lock_delegate_chromeos.h" | 24 #include "chrome/browser/ui/ash/caps_lock_delegate_chromeos.h" |
| 25 #include "chrome/browser/ui/ash/session_state_delegate_chromeos.h" | 25 #include "chrome/browser/ui/ash/session_state_delegate_chromeos.h" |
| 26 #include "chrome/browser/ui/ash/window_positioner.h" | 26 #include "chrome/browser/ui/ash/window_positioner.h" |
| 27 #include "chrome/browser/ui/browser.h" | 27 #include "chrome/browser/ui/browser.h" |
| 28 #include "chrome/browser/ui/browser_finder.h" | 28 #include "chrome/browser/ui/browser_finder.h" |
| 29 #include "chrome/browser/ui/browser_window.h" | 29 #include "chrome/browser/ui/browser_window.h" |
| 30 #include "chrome/browser/ui/extensions/application_launch.h" | 30 #include "chrome/browser/ui/extensions/application_launch.h" |
| 31 #include "chrome/browser/ui/extensions/native_app_window.h" | 31 #include "chrome/browser/ui/extensions/native_app_window.h" |
| 32 #include "chrome/browser/ui/extensions/shell_window.h" | |
| 33 #include "chrome/browser/ui/webui/chrome_web_contents_handler.h" | 32 #include "chrome/browser/ui/webui/chrome_web_contents_handler.h" |
| 34 #include "chrome/common/chrome_switches.h" | 33 #include "chrome/common/chrome_switches.h" |
| 35 #include "chrome/common/pref_names.h" | 34 #include "chrome/common/pref_names.h" |
| 36 #include "chrome/common/url_constants.h" | 35 #include "chrome/common/url_constants.h" |
| 37 #include "chromeos/chromeos_switches.h" | 36 #include "chromeos/chromeos_switches.h" |
| 38 #include "chromeos/dbus/dbus_thread_manager.h" | 37 #include "chromeos/dbus/dbus_thread_manager.h" |
| 39 #include "chromeos/dbus/power_manager_client.h" | 38 #include "chromeos/dbus/power_manager_client.h" |
| 40 #include "chromeos/ime/input_method_manager.h" | 39 #include "chromeos/ime/input_method_manager.h" |
| 41 #include "content/public/browser/user_metrics.h" | 40 #include "content/public/browser/user_metrics.h" |
| 42 #include "content/public/browser/web_contents.h" | 41 #include "content/public/browser/web_contents.h" |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 } | 248 } |
| 250 | 249 |
| 251 void ChromeShellDelegate::PlatformInit() { | 250 void ChromeShellDelegate::PlatformInit() { |
| 252 registrar_.Add(this, | 251 registrar_.Add(this, |
| 253 chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 252 chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
| 254 content::NotificationService::AllSources()); | 253 content::NotificationService::AllSources()); |
| 255 registrar_.Add(this, | 254 registrar_.Add(this, |
| 256 chrome::NOTIFICATION_SESSION_STARTED, | 255 chrome::NOTIFICATION_SESSION_STARTED, |
| 257 content::NotificationService::AllSources()); | 256 content::NotificationService::AllSources()); |
| 258 } | 257 } |
| OLD | NEW |