Temporary allocation of 20Mb before and after call to ServiceProcessControl::GetHisto...
[chromium-blink-merge.git] / ash / test / overflow_bubble_view_test_api.h
blob2bd5f2726afa705cf5ae7a7220a163e554367f01
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"
10 namespace gfx {
11 class Size;
14 namespace ash {
15 class OverflowBubbleView;
17 namespace test {
19 class OverflowBubbleViewTestAPI {
20 public:
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
28 // visible.
29 void ScrollByXOffset(int x_offset);
31 private:
32 OverflowBubbleView* bubble_view_;
34 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleViewTestAPI);
37 } // namespace test
38 } // namespace ash
40 #endif // ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_