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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 class Profile; | 10 class Profile; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void LaunchApp(Profile* profile, | 49 virtual void LaunchApp(Profile* profile, |
50 const std::string& extension_id, | 50 const std::string& extension_id, |
51 int event_flags) = 0; | 51 int event_flags) = 0; |
52 }; | 52 }; |
53 | 53 |
54 namespace app_list_controller { | 54 namespace app_list_controller { |
55 | 55 |
56 // Show the app list. | 56 // Show the app list. |
57 void ShowAppList(); | 57 void ShowAppList(); |
58 | 58 |
| 59 // Check that the presence of the app list shortcut matches the flag |
| 60 // kShowAppListShortcut. This will either create or delete a shortcut |
| 61 // file in the user data directory. |
| 62 // TODO(benwells): Remove this and the flag once the app list installation |
| 63 // is implemented. |
| 64 void CheckAppListTaskbarShortcut(); |
| 65 |
59 } // namespace app_list_controller | 66 } // namespace app_list_controller |
60 | 67 |
61 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ | 68 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ |
OLD | NEW |