OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_APP_LIST_TEST_APP_LIST_SERVICE_ASH_TEST_API_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_APP_LIST_TEST_APP_LIST_SERVICE_ASH_TEST_API_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace app_list { |
| 11 class AppListShowerImpl; |
| 12 class AppListView; |
| 13 class AppsGridView; |
| 14 class StartPageView; |
| 15 } |
| 16 |
| 17 // Accesses private data from an AppListServiceAsh and AppListShowerImpl |
| 18 // for testing. |
| 19 class AppListServiceAshTestApi { |
| 20 public: |
| 21 AppListServiceAshTestApi(); |
| 22 |
| 23 app_list::AppListShowerImpl* GetAppListShower() const; |
| 24 |
| 25 app_list::AppListView* GetAppListView() const; |
| 26 |
| 27 // Gets the root level apps grid view. |
| 28 app_list::AppsGridView* GetRootGridView() const; |
| 29 |
| 30 // Gets the start page view. |
| 31 app_list::StartPageView* GetStartPageView() const; |
| 32 |
| 33 // Calls Layout() on the app_list::ContentsView. |
| 34 void LayoutContentsView(); |
| 35 |
| 36 private: |
| 37 DISALLOW_COPY_AND_ASSIGN(AppListServiceAshTestApi); |
| 38 }; |
| 39 |
| 40 #endif // CHROME_BROWSER_UI_ASH_APP_LIST_TEST_APP_LIST_SERVICE_ASH_TEST_API_H_ |
OLD | NEW |