| 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_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_ | 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_ | 6 #define UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 ~AppsGridViewTestApi(); | 23 ~AppsGridViewTestApi(); |
| 24 | 24 |
| 25 views::View* GetViewAtModelIndex(int index) const; | 25 views::View* GetViewAtModelIndex(int index) const; |
| 26 | 26 |
| 27 void LayoutToIdealBounds(); | 27 void LayoutToIdealBounds(); |
| 28 | 28 |
| 29 void SetPageFlipDelay(int page_flip_delay_in_ms); | 29 void SetPageFlipDelay(int page_flip_delay_in_ms); |
| 30 | 30 |
| 31 void PressItemAt(int index); | 31 void PressItemAt(int index); |
| 32 | 32 |
| 33 void DisableSynchronousDrag(); | |
| 34 | |
| 35 bool HasPendingPageFlip() const; | 33 bool HasPendingPageFlip() const; |
| 36 | 34 |
| 37 private: | 35 private: |
| 38 AppsGridView* view_; | 36 AppsGridView* view_; |
| 39 | 37 |
| 40 DISALLOW_COPY_AND_ASSIGN(AppsGridViewTestApi); | 38 DISALLOW_COPY_AND_ASSIGN(AppsGridViewTestApi); |
| 41 }; | 39 }; |
| 42 | 40 |
| 43 } // namespace test | 41 } // namespace test |
| 44 } // namespace app_list | 42 } // namespace app_list |
| 45 | 43 |
| 46 #endif // UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_ | 44 #endif // UI_APP_LIST_VIEWS_TEST_APPS_GRID_VIEW_TEST_API_H_ |
| OLD | NEW |