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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 631913004: Open the launcher when hotword is triggered in always-on mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hotword-google-com-ntp
Patch Set: Created 6 years, 2 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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 static void RecordAppListAppLaunch(); 47 static void RecordAppListAppLaunch();
48 48
49 // AppListService overrides: 49 // AppListService overrides:
50 virtual void SetAppListNextPaintCallback(void (*callback)()) override; 50 virtual void SetAppListNextPaintCallback(void (*callback)()) override;
51 virtual void HandleFirstRun() override; 51 virtual void HandleFirstRun() override;
52 virtual void Init(Profile* initial_profile) override; 52 virtual void Init(Profile* initial_profile) override;
53 virtual base::FilePath GetProfilePath( 53 virtual base::FilePath GetProfilePath(
54 const base::FilePath& user_data_dir) override; 54 const base::FilePath& user_data_dir) override;
55 virtual void SetProfilePath(const base::FilePath& profile_path) override; 55 virtual void SetProfilePath(const base::FilePath& profile_path) override;
56 virtual void Show() override; 56 virtual void Show() override;
57 virtual void ShowForVoiceSearch(Profile* profile) override;
57 virtual void AutoShowForProfile(Profile* requested_profile) override; 58 virtual void AutoShowForProfile(Profile* requested_profile) override;
58 virtual void EnableAppList(Profile* initial_profile, 59 virtual void EnableAppList(Profile* initial_profile,
59 AppListEnableSource enable_source) override; 60 AppListEnableSource enable_source) override;
60 virtual void CreateShortcut() override; 61 virtual void CreateShortcut() override;
61 62
62 protected: 63 protected:
63 AppListServiceImpl(); 64 AppListServiceImpl();
64 65
65 // Destroy the app list. Called when the profile that the app list is showing 66 // Destroy the app list. Called when the profile that the app list is showing
66 // is being deleted. 67 // is being deleted.
(...skipping 29 matching lines...) Expand all
96 PrefService* local_state_; 97 PrefService* local_state_;
97 scoped_ptr<ProfileLoader> profile_loader_; 98 scoped_ptr<ProfileLoader> profile_loader_;
98 scoped_ptr<AppListViewDelegate> view_delegate_; 99 scoped_ptr<AppListViewDelegate> view_delegate_;
99 100
100 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; 101 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); 103 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl);
103 }; 104 };
104 105
105 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 106 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698