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.
5 #ifndef ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_
6 #define ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_
8 #include "base/basictypes.h"
15 class OverflowBubbleView;
19 class OverflowBubbleViewTestAPI {
21 explicit OverflowBubbleViewTestAPI(OverflowBubbleView* bubble_view);
22 ~OverflowBubbleViewTestAPI();
24 // Returns the total width of items included in ShelfView.
25 gfx::Size GetContentsSize();
27 // Emulates scroll operations on OverflowBubble to make invisible last item
29 void ScrollByXOffset(int x_offset);
32 OverflowBubbleView* bubble_view_;
34 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleViewTestAPI);
40 #endif // ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_