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

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

Issue 15715018: Make the Remove Extension dialog modal for win app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac fix Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/memory/singleton.h" 6 #include "base/memory/singleton.h"
7 #include "chrome/browser/ui/app_list/app_list_service.h" 7 #include "chrome/browser/ui/app_list/app_list_service.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 25 matching lines...) Expand all
36 const base::FilePath& profile_file_path) OVERRIDE {} 36 const base::FilePath& profile_file_path) OVERRIDE {}
37 37
38 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } 38 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; }
39 virtual bool IsAppListVisible() const OVERRIDE { return false; } 39 virtual bool IsAppListVisible() const OVERRIDE { return false; }
40 virtual void EnableAppList() OVERRIDE {} 40 virtual void EnableAppList() OVERRIDE {}
41 41
42 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE { 42 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE {
43 return NULL; 43 return NULL;
44 } 44 }
45 45
46 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE {
47 return NULL;
48 }
49
46 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); 50 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled);
47 }; 51 };
48 52
49 } // namespace 53 } // namespace
50 54
51 // static 55 // static
52 AppListService* AppListService::Get() { 56 AppListService* AppListService::Get() {
53 return AppListServiceDisabled::GetInstance(); 57 return AppListServiceDisabled::GetInstance();
54 } 58 }
55 59
56 // static 60 // static
57 void AppListService::InitAll(Profile* initial_profile) {} 61 void AppListService::InitAll(Profile* initial_profile) {}
58 62
59 // static 63 // static
60 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} 64 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {}
61 65
62 // static 66 // static
63 void AppListService::RecordShowTimings(const CommandLine& command_line) {} 67 void AppListService::RecordShowTimings(const CommandLine& command_line) {}
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service.h ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698