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/webui/signin/user_manager_screen_handler.h" | 5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "grit/components_strings.h" | 62 #include "grit/components_strings.h" |
63 #include "third_party/skia/include/core/SkBitmap.h" | 63 #include "third_party/skia/include/core/SkBitmap.h" |
64 #include "ui/base/l10n/l10n_util.h" | 64 #include "ui/base/l10n/l10n_util.h" |
65 #include "ui/base/resource/resource_bundle.h" | 65 #include "ui/base/resource/resource_bundle.h" |
66 #include "ui/base/webui/web_ui_util.h" | 66 #include "ui/base/webui/web_ui_util.h" |
67 #include "ui/gfx/image/image.h" | 67 #include "ui/gfx/image/image.h" |
68 #include "ui/gfx/image/image_skia.h" | 68 #include "ui/gfx/image/image_skia.h" |
69 #include "ui/gfx/image/image_util.h" | 69 #include "ui/gfx/image/image_util.h" |
70 | 70 |
71 #if defined(USE_ASH) | 71 #if defined(USE_ASH) |
72 #include "ash/shell.h" | 72 #include "ash/shell.h" // nogncheck |
73 #endif | 73 #endif |
74 | 74 |
75 namespace { | 75 namespace { |
76 // User dictionary keys. | 76 // User dictionary keys. |
77 const char kKeyUsername[] = "username"; | 77 const char kKeyUsername[] = "username"; |
78 const char kKeyDisplayName[]= "displayName"; | 78 const char kKeyDisplayName[]= "displayName"; |
79 const char kKeyEmailAddress[] = "emailAddress"; | 79 const char kKeyEmailAddress[] = "emailAddress"; |
80 const char kKeyProfilePath[] = "profilePath"; | 80 const char kKeyProfilePath[] = "profilePath"; |
81 const char kKeyPublicAccount[] = "publicAccount"; | 81 const char kKeyPublicAccount[] = "publicAccount"; |
82 const char kKeyLegacySupervisedUser[] = "legacySupervisedUser"; | 82 const char kKeyLegacySupervisedUser[] = "legacySupervisedUser"; |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 Profile* profile, Profile::CreateStatus profile_create_status) { | 1038 Profile* profile, Profile::CreateStatus profile_create_status) { |
1039 Browser* browser = chrome::FindAnyBrowser(profile, false); | 1039 Browser* browser = chrome::FindAnyBrowser(profile, false); |
1040 if (browser && browser->window()) { | 1040 if (browser && browser->window()) { |
1041 OnBrowserWindowReady(browser); | 1041 OnBrowserWindowReady(browser); |
1042 } else { | 1042 } else { |
1043 registrar_.Add(this, | 1043 registrar_.Add(this, |
1044 chrome::NOTIFICATION_BROWSER_WINDOW_READY, | 1044 chrome::NOTIFICATION_BROWSER_WINDOW_READY, |
1045 content::NotificationService::AllSources()); | 1045 content::NotificationService::AllSources()); |
1046 } | 1046 } |
1047 } | 1047 } |
OLD | NEW |