| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SERVICE_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_WIN_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_WIN_H_ |
| 7 | 7 |
| 8 class AppListService; | 8 #include "chrome/browser/ui/app_list/app_list_service_impl.h" |
| 9 |
| 10 namespace app_list{ |
| 11 class AppListModel; |
| 12 } |
| 13 |
| 14 // Exposes methods required by the AppListServiceTestApi on Windows. |
| 15 // TODO(tapted): Put the full declaration for Windows here, and remove testing |
| 16 // methods once they can access the implementation from the test api. |
| 17 class AppListServiceWin : public AppListServiceImpl { |
| 18 public: |
| 19 AppListServiceWin() {} |
| 20 |
| 21 virtual app_list::AppListModel* GetAppListModelForTesting() = 0; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(AppListServiceWin); |
| 25 }; |
| 9 | 26 |
| 10 namespace chrome { | 27 namespace chrome { |
| 11 | 28 |
| 12 AppListService* GetAppListServiceWin(); | 29 AppListService* GetAppListServiceWin(); |
| 13 | 30 |
| 14 // Returns the resource id of the app list PNG icon used for the taskbar, | 31 // Returns the resource id of the app list PNG icon used for the taskbar, |
| 15 // infobars and window decorations. | 32 // infobars and window decorations. |
| 16 int GetAppListIconResourceId(); | 33 int GetAppListIconResourceId(); |
| 17 | 34 |
| 18 } // namespace chrome | 35 } // namespace chrome |
| 19 | 36 |
| 20 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_WIN_H_ | 37 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_WIN_H_ |
| OLD | NEW |