| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // Invoked when the app list UI is created. | 110 // Invoked when the app list UI is created. |
| 111 virtual void ViewInitialized() = 0; | 111 virtual void ViewInitialized() = 0; |
| 112 | 112 |
| 113 // Invoked to dismiss app list. This may leave the view open but hidden from | 113 // Invoked to dismiss app list. This may leave the view open but hidden from |
| 114 // the user. | 114 // the user. |
| 115 virtual void Dismiss() = 0; | 115 virtual void Dismiss() = 0; |
| 116 | 116 |
| 117 // Invoked when the app list is closing. | 117 // Invoked when the app list is closing. |
| 118 virtual void ViewClosing() = 0; | 118 virtual void ViewClosing() = 0; |
| 119 | 119 |
| 120 // Open the settings UI. | |
| 121 virtual void OpenSettings() = 0; | |
| 122 | |
| 123 // Open the help UI. | 120 // Open the help UI. |
| 124 virtual void OpenHelp() = 0; | 121 virtual void OpenHelp() = 0; |
| 125 | 122 |
| 126 // Open the feedback UI. | 123 // Open the feedback UI. |
| 127 virtual void OpenFeedback() = 0; | 124 virtual void OpenFeedback() = 0; |
| 128 | 125 |
| 129 // Invoked to toggle the status of speech recognition. | 126 // Invoked to toggle the status of speech recognition. |
| 130 virtual void StartSpeechRecognition() = 0; | 127 virtual void StartSpeechRecognition() = 0; |
| 131 virtual void StopSpeechRecognition() = 0; | 128 virtual void StopSpeechRecognition() = 0; |
| 132 | 129 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 virtual base::string16 GetLearnMoreText() const; | 172 virtual base::string16 GetLearnMoreText() const; |
| 176 virtual base::string16 GetLearnMoreLink() const; | 173 virtual base::string16 GetLearnMoreLink() const; |
| 177 virtual gfx::ImageSkia* GetAppsIcon() const; | 174 virtual gfx::ImageSkia* GetAppsIcon() const; |
| 178 virtual void OpenLearnMoreLink(); | 175 virtual void OpenLearnMoreLink(); |
| 179 #endif | 176 #endif |
| 180 }; | 177 }; |
| 181 | 178 |
| 182 } // namespace app_list | 179 } // namespace app_list |
| 183 | 180 |
| 184 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 181 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |