Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 | 108 |
| 109 // Open the settings UI. | 109 // Open the settings UI. |
| 110 virtual void OpenSettings() = 0; | 110 virtual void OpenSettings() = 0; |
| 111 | 111 |
| 112 // Open the help UI. | 112 // Open the help UI. |
| 113 virtual void OpenHelp() = 0; | 113 virtual void OpenHelp() = 0; |
| 114 | 114 |
| 115 // Open the feedback UI. | 115 // Open the feedback UI. |
| 116 virtual void OpenFeedback() = 0; | 116 virtual void OpenFeedback() = 0; |
| 117 | 117 |
| 118 // Invoked when the right button of the search box is clicked. | |
| 119 virtual void OnRightButtonClicked() = 0; | |
|
xiyuan
2013/11/12 03:09:25
nit: Rename to ToggleVoiceRecognition to be more c
Jun Mukai
2013/11/12 19:24:09
Done.
| |
| 120 | |
| 118 // Shows the app list for the profile specified by |profile_path|. | 121 // Shows the app list for the profile specified by |profile_path|. |
| 119 virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0; | 122 virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0; |
| 120 | 123 |
| 121 // Get the start page web contents. Owned by the AppListViewDelegate. | 124 // Get the start page web contents. Owned by the AppListViewDelegate. |
| 122 virtual content::WebContents* GetStartPageContents() = 0; | 125 virtual content::WebContents* GetStartPageContents() = 0; |
| 123 | 126 |
| 124 // Returns the list of users (for AppListMenu). | 127 // Returns the list of users (for AppListMenu). |
| 125 virtual const Users& GetUsers() const = 0; | 128 virtual const Users& GetUsers() const = 0; |
| 126 }; | 129 }; |
| 127 | 130 |
| 128 } // namespace app_list | 131 } // namespace app_list |
| 129 | 132 |
| 130 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 133 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |