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

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

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Invoked to start speech recognition based on a hotword trigger. 79 // Invoked to start speech recognition based on a hotword trigger.
80 void StartSpeechRecognitionForHotword( 80 void StartSpeechRecognitionForHotword(
81 const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble); 81 const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble);
82 82
83 // Overridden from app_list::AppListViewDelegate: 83 // Overridden from app_list::AppListViewDelegate:
84 bool ForceNativeDesktop() const override; 84 bool ForceNativeDesktop() const override;
85 void SetProfileByPath(const base::FilePath& profile_path) override; 85 void SetProfileByPath(const base::FilePath& profile_path) override;
86 app_list::AppListModel* GetModel() override; 86 app_list::AppListModel* GetModel() override;
87 app_list::SpeechUIModel* GetSpeechUI() override; 87 app_list::SpeechUIModel* GetSpeechUI() override;
88 void GetShortcutPathForApp(
89 const std::string& app_id,
90 const base::Callback<void(const base::FilePath&)>& callback) override;
91 void StartSearch() override; 88 void StartSearch() override;
92 void StopSearch() override; 89 void StopSearch() override;
93 void OpenSearchResult(app_list::SearchResult* result, 90 void OpenSearchResult(app_list::SearchResult* result,
94 bool auto_launch, 91 bool auto_launch,
95 int event_flags) override; 92 int event_flags) override;
96 void InvokeSearchResultAction(app_list::SearchResult* result, 93 void InvokeSearchResultAction(app_list::SearchResult* result,
97 int action_index, 94 int action_index,
98 int event_flags) override; 95 int event_flags) override;
99 base::TimeDelta GetAutoLaunchTimeout() override; 96 base::TimeDelta GetAutoLaunchTimeout() override;
100 void AutoLaunchCanceled() override; 97 void AutoLaunchCanceled() override;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Window contents of additional custom launcher pages. 214 // Window contents of additional custom launcher pages.
218 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_; 215 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_;
219 216
220 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages. 217 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages.
221 content::NotificationRegistrar registrar_; 218 content::NotificationRegistrar registrar_;
222 219
223 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 220 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
224 }; 221 };
225 222
226 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 223 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698