Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: ash/test/overflow_bubble_view_test_api.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/test/display_manager_test_api.cc ('k') | ash/test/overflow_bubble_view_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_ 5 #ifndef ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_
6 #define ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_ 6 #define ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 class Size; 11 class Size;
12 } 12 }
13 13
14 namespace ash { 14 namespace ash {
15
16 namespace internal {
17 class OverflowBubbleView; 15 class OverflowBubbleView;
18 }
19 16
20 namespace test { 17 namespace test {
21 18
22 class OverflowBubbleViewTestAPI { 19 class OverflowBubbleViewTestAPI {
23 public: 20 public:
24 explicit OverflowBubbleViewTestAPI(internal::OverflowBubbleView* bubble_view); 21 explicit OverflowBubbleViewTestAPI(OverflowBubbleView* bubble_view);
25 ~OverflowBubbleViewTestAPI(); 22 ~OverflowBubbleViewTestAPI();
26 23
27 // Returns the total width of items included in ShelfView. 24 // Returns the total width of items included in ShelfView.
28 gfx::Size GetContentsSize(); 25 gfx::Size GetContentsSize();
29 26
30 // Emulates scroll operations on OverflowBubble to make invisible last item 27 // Emulates scroll operations on OverflowBubble to make invisible last item
31 // visible. 28 // visible.
32 void ScrollByXOffset(int x_offset); 29 void ScrollByXOffset(int x_offset);
33 30
34 private: 31 private:
35 internal::OverflowBubbleView* bubble_view_; 32 OverflowBubbleView* bubble_view_;
36 33
37 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleViewTestAPI); 34 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleViewTestAPI);
38 }; 35 };
39 36
40 } // namespace test 37 } // namespace test
41 } // namespace ash 38 } // namespace ash
42 39
43 #endif // ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_ 40 #endif // ASH_TEST_OVERFLOW_BUBBLE_VIEW_TEST_API_
OLDNEW
« no previous file with comments | « ash/test/display_manager_test_api.cc ('k') | ash/test/overflow_bubble_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698