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 <limits> | 9 #include <limits> |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" | 62 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" |
63 #include "chrome/common/pref_names.h" | 63 #include "chrome/common/pref_names.h" |
64 #include "chrome/grit/chromium_strings.h" | 64 #include "chrome/grit/chromium_strings.h" |
65 #include "chrome/grit/generated_resources.h" | 65 #include "chrome/grit/generated_resources.h" |
66 #include "chrome/grit/theme_resources.h" | 66 #include "chrome/grit/theme_resources.h" |
67 #include "chromeos/chromeos_switches.h" | 67 #include "chromeos/chromeos_switches.h" |
68 #include "components/prefs/pref_service.h" | 68 #include "components/prefs/pref_service.h" |
69 #include "components/user_manager/user.h" | 69 #include "components/user_manager/user.h" |
70 #include "components/user_manager/user_manager.h" | 70 #include "components/user_manager/user_manager.h" |
71 #include "content/public/browser/notification_service.h" | 71 #include "content/public/browser/notification_service.h" |
72 #include "content/public/browser/user_metrics.h" | |
73 #include "content/public/common/service_manager_connection.h" | 72 #include "content/public/common/service_manager_connection.h" |
74 #include "ui/aura/window.h" | 73 #include "ui/aura/window.h" |
75 #include "ui/base/ime/chromeos/input_method_manager.h" | 74 #include "ui/base/ime/chromeos/input_method_manager.h" |
76 #include "ui/base/l10n/l10n_util.h" | 75 #include "ui/base/l10n/l10n_util.h" |
77 #include "ui/base/resource/resource_bundle.h" | 76 #include "ui/base/resource/resource_bundle.h" |
78 | 77 |
79 using chromeos::AccessibilityManager; | 78 using chromeos::AccessibilityManager; |
80 | 79 |
81 namespace { | 80 namespace { |
82 | 81 |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 NOTREACHED() << "Unexpected notification " << type; | 598 NOTREACHED() << "Unexpected notification " << type; |
600 } | 599 } |
601 } | 600 } |
602 | 601 |
603 void ChromeShellDelegate::PlatformInit() { | 602 void ChromeShellDelegate::PlatformInit() { |
604 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 603 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
605 content::NotificationService::AllSources()); | 604 content::NotificationService::AllSources()); |
606 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, | 605 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, |
607 content::NotificationService::AllSources()); | 606 content::NotificationService::AllSources()); |
608 } | 607 } |
OLD | NEW |