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

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

Issue 2339523004: Remove old (dead) app list code. (Closed)
Patch Set: Rebase. Created 4 years, 3 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 UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Invoked when the custom launcher page's subpage should be popped. 140 // Invoked when the custom launcher page's subpage should be popped.
141 virtual void CustomLauncherPagePopSubpage() = 0; 141 virtual void CustomLauncherPagePopSubpage() = 0;
142 #endif 142 #endif
143 143
144 // Returns true if the delegate supports speech recognition. 144 // Returns true if the delegate supports speech recognition.
145 virtual bool IsSpeechRecognitionEnabled() = 0; 145 virtual bool IsSpeechRecognitionEnabled() = 0;
146 146
147 // Returns the list of users (for AppListMenu). 147 // Returns the list of users (for AppListMenu).
148 virtual const Users& GetUsers() const = 0; 148 virtual const Users& GetUsers() const = 0;
149 149
150 // Returns true if the app list should be centered and in landscape mode.
151 virtual bool ShouldCenterWindow() const = 0;
152
153 // Adds/removes an observer for profile changes. 150 // Adds/removes an observer for profile changes.
154 virtual void AddObserver(AppListViewDelegateObserver* observer) {} 151 virtual void AddObserver(AppListViewDelegateObserver* observer) {}
155 virtual void RemoveObserver(AppListViewDelegateObserver* observer) {} 152 virtual void RemoveObserver(AppListViewDelegateObserver* observer) {}
156 }; 153 };
157 154
158 } // namespace app_list 155 } // namespace app_list
159 156
160 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 157 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698