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/views/ash/app_list/apps_model_builder.h" | 5 #include "chrome/browser/ui/ash/app_list/apps_model_builder.h" |
6 | 6 |
7 #include "base/i18n/case_conversion.h" | 7 #include "base/i18n/case_conversion.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/views/ash/app_list/extension_app_item.h" | 12 #include "chrome/browser/ui/ash/app_list/extension_app_item.h" |
13 #include "chrome/common/chrome_notification_types.h" | 13 #include "chrome/common/chrome_notification_types.h" |
14 #include "chrome/common/extensions/extension.h" | 14 #include "chrome/common/extensions/extension.h" |
15 #include "content/public/browser/notification_service.h" | 15 #include "content/public/browser/notification_service.h" |
16 #include "ui/base/l10n/l10n_util_collator.h" | 16 #include "ui/base/l10n/l10n_util_collator.h" |
17 | 17 |
18 using extensions::Extension; | 18 using extensions::Extension; |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 const char* kSpecialApps[] = { | 22 const char* kSpecialApps[] = { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 } | 217 } |
218 case chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST: { | 218 case chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST: { |
219 highlight_app_id_ = *content::Details<const std::string>(details).ptr(); | 219 highlight_app_id_ = *content::Details<const std::string>(details).ptr(); |
220 HighlightApp(); | 220 HighlightApp(); |
221 break; | 221 break; |
222 } | 222 } |
223 default: | 223 default: |
224 NOTREACHED(); | 224 NOTREACHED(); |
225 } | 225 } |
226 } | 226 } |
OLD | NEW |