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

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

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 years, 8 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const ExtensionRegistry* registry = ExtensionRegistry::Get(profile); 42 const ExtensionRegistry* registry = ExtensionRegistry::Get(profile);
43 const extensions::Extension* extension = 43 const extensions::Extension* extension =
44 registry->GetInstalledExtension(extension_id); 44 registry->GetInstalledExtension(extension_id);
45 return extension; 45 return extension;
46 } 46 }
47 47
48 } // namespace 48 } // namespace
49 49
50 AppListControllerDelegate::~AppListControllerDelegate() {} 50 AppListControllerDelegate::~AppListControllerDelegate() {}
51 51
52 bool AppListControllerDelegate::ForceNativeDesktop() const {
53 return false;
54 }
55
56 void AppListControllerDelegate::ViewClosing() {} 52 void AppListControllerDelegate::ViewClosing() {}
57 53
58 gfx::Rect AppListControllerDelegate::GetAppListBounds() { 54 gfx::Rect AppListControllerDelegate::GetAppListBounds() {
59 return gfx::Rect(); 55 return gfx::Rect();
60 } 56 }
61 57
62 void AppListControllerDelegate::OnShowChildDialog() { 58 void AppListControllerDelegate::OnShowChildDialog() {
63 } 59 }
64 void AppListControllerDelegate::OnCloseChildDialog() { 60 void AppListControllerDelegate::OnCloseChildDialog() {
65 } 61 }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 out_apps->InsertAll(registry->enabled_extensions()); 197 out_apps->InsertAll(registry->enabled_extensions());
202 out_apps->InsertAll(registry->disabled_extensions()); 198 out_apps->InsertAll(registry->disabled_extensions());
203 out_apps->InsertAll(registry->terminated_extensions()); 199 out_apps->InsertAll(registry->terminated_extensions());
204 } 200 }
205 201
206 void AppListControllerDelegate::OnSearchStarted() { 202 void AppListControllerDelegate::OnSearchStarted() {
207 #if BUILDFLAG(ENABLE_RLZ) 203 #if BUILDFLAG(ENABLE_RLZ)
208 rlz::RLZTracker::RecordAppListSearch(); 204 rlz::RLZTracker::RecordAppListSearch();
209 #endif 205 #endif
210 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698