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

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

Issue 1137503005: Add launcherPage.hide() API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mobile Created 5 years, 7 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 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 17 matching lines...) Expand all
28 return base::FilePath(); 28 return base::FilePath();
29 } 29 }
30 void SetProfilePath(const base::FilePath& profile_path) override {} 30 void SetProfilePath(const base::FilePath& profile_path) override {}
31 31
32 void Show() override {} 32 void Show() override {}
33 void ShowForProfile(Profile* profile) override {} 33 void ShowForProfile(Profile* profile) override {}
34 void ShowForVoiceSearch( 34 void ShowForVoiceSearch(
35 Profile* profile, 35 Profile* profile,
36 const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble) 36 const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble)
37 override {} 37 override {}
38 void HideCustomLauncherPage() override {}
38 void ShowForAppInstall(Profile* profile, 39 void ShowForAppInstall(Profile* profile,
39 const std::string& extension_id, 40 const std::string& extension_id,
40 bool start_discovery_tracking) override {} 41 bool start_discovery_tracking) override {}
41 void DismissAppList() override {} 42 void DismissAppList() override {}
42 void ShowForCustomLauncherPage(Profile* profile) override {} 43 void ShowForCustomLauncherPage(Profile* profile) override {}
43 44
44 Profile* GetCurrentAppListProfile() override { return nullptr; } 45 Profile* GetCurrentAppListProfile() override { return nullptr; }
45 bool IsAppListVisible() const override { return false; } 46 bool IsAppListVisible() const override { return false; }
46 void EnableAppList(Profile* initial_profile, 47 void EnableAppList(Profile* initial_profile,
47 AppListEnableSource enable_source) override {} 48 AppListEnableSource enable_source) override {}
(...skipping 19 matching lines...) Expand all
67 68
68 // static 69 // static
69 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} 70 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {}
70 71
71 // static 72 // static
72 bool AppListService::HandleLaunchCommandLine( 73 bool AppListService::HandleLaunchCommandLine(
73 const base::CommandLine& command_line, 74 const base::CommandLine& command_line,
74 Profile* launch_profile) { 75 Profile* launch_profile) {
75 return false; 76 return false;
76 } 77 }
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.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698