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
3 // found in the LICENSE file.
5 #ifndef UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_
6 #define UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_
8 #include "base/basictypes.h"
20 class AppsGridViewTestApi {
22 explicit AppsGridViewTestApi(AppsGridView* view);
23 ~AppsGridViewTestApi();
25 views::View* GetViewAtModelIndex(int index) const;
27 void LayoutToIdealBounds();
29 void SetPageFlipDelay(int page_flip_delay_in_ms);
34 DISALLOW_COPY_AND_ASSIGN(AppsGridViewTestApi);
38 } // namespace app_list
40 #endif // UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_