Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: chrome/browser/ui/app_list/app_list_controller_delegate.cc

Issue 2354633002: Add //chrome/browser/ui to "gn check". (Closed)
Patch Set: cast_shell_android and chromeos_ozone Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/app_list/app_list_controller_delegate.h" 5 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
6 6
7 #include "base/metrics/histogram_macros.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/extensions/extension_util.h" 9 #include "chrome/browser/extensions/extension_util.h"
10 #include "chrome/browser/extensions/install_tracker_factory.h" 10 #include "chrome/browser/extensions/install_tracker_factory.h"
(...skipping 11 matching lines...) Expand all
22 #include "extensions/common/manifest_handlers/options_page_info.h" 22 #include "extensions/common/manifest_handlers/options_page_info.h"
23 #include "extensions/common/manifest_url_handlers.h" 23 #include "extensions/common/manifest_url_handlers.h"
24 #include "net/base/url_util.h" 24 #include "net/base/url_util.h"
25 #include "ui/app_list/app_list_folder_item.h" 25 #include "ui/app_list/app_list_folder_item.h"
26 #include "ui/app_list/app_list_item.h" 26 #include "ui/app_list/app_list_item.h"
27 #include "ui/app_list/app_list_model.h" 27 #include "ui/app_list/app_list_model.h"
28 #include "ui/app_list/app_list_switches.h" 28 #include "ui/app_list/app_list_switches.h"
29 #include "ui/gfx/geometry/rect.h" 29 #include "ui/gfx/geometry/rect.h"
30 30
31 #if defined(ENABLE_RLZ) 31 #if defined(ENABLE_RLZ)
32 #include "components/rlz/rlz_tracker.h" 32 #include "components/rlz/rlz_tracker.h" // nogncheck
33 #endif 33 #endif
34 34
35 using extensions::ExtensionRegistry; 35 using extensions::ExtensionRegistry;
36 36
37 namespace { 37 namespace {
38 38
39 const extensions::Extension* GetExtension(Profile* profile, 39 const extensions::Extension* GetExtension(Profile* profile,
40 const std::string& extension_id) { 40 const std::string& extension_id) {
41 const ExtensionRegistry* registry = ExtensionRegistry::Get(profile); 41 const ExtensionRegistry* registry = ExtensionRegistry::Get(profile);
42 const extensions::Extension* extension = 42 const extensions::Extension* extension =
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 out_apps->InsertAll(registry->enabled_extensions()); 200 out_apps->InsertAll(registry->enabled_extensions());
201 out_apps->InsertAll(registry->disabled_extensions()); 201 out_apps->InsertAll(registry->disabled_extensions());
202 out_apps->InsertAll(registry->terminated_extensions()); 202 out_apps->InsertAll(registry->terminated_extensions());
203 } 203 }
204 204
205 void AppListControllerDelegate::OnSearchStarted() { 205 void AppListControllerDelegate::OnSearchStarted() {
206 #if defined(ENABLE_RLZ) 206 #if defined(ENABLE_RLZ)
207 rlz::RLZTracker::RecordAppListSearch(); 207 rlz::RLZTracker::RecordAppListSearch();
208 #endif 208 #endif
209 } 209 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698