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

Side by Side Diff: ash/shelf/overflow_bubble_view.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/shelf/overflow_bubble.cc ('k') | ash/shelf/overflow_bubble_view.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_SHELF_OVERFLOW_BUBBLE_VIEW_H_ 5 #ifndef ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_
6 #define ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ 6 #define ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "ui/views/bubble/bubble_delegate.h" 11 #include "ui/views/bubble/bubble_delegate.h"
12 12
13 namespace ash { 13 namespace ash {
14 class ShelfLayoutManager;
15 class ShelfView;
14 16
15 namespace test { 17 namespace test {
16 class OverflowBubbleViewTestAPI; 18 class OverflowBubbleViewTestAPI;
17 } 19 }
18 20
19 namespace internal {
20
21 class ShelfLayoutManager;
22 class ShelfView;
23
24 // OverflowBubbleView hosts a ShelfView to display overflown items. 21 // OverflowBubbleView hosts a ShelfView to display overflown items.
25 // Exports to access this class from OverflowBubbleViewTestAPI. 22 // Exports to access this class from OverflowBubbleViewTestAPI.
26 class ASH_EXPORT OverflowBubbleView : public views::BubbleDelegateView { 23 class ASH_EXPORT OverflowBubbleView : public views::BubbleDelegateView {
27 public: 24 public:
28 OverflowBubbleView(); 25 OverflowBubbleView();
29 virtual ~OverflowBubbleView(); 26 virtual ~OverflowBubbleView();
30 27
31 void InitOverflowBubble(views::View* anchor, ShelfView* shelf_view); 28 void InitOverflowBubble(views::View* anchor, ShelfView* shelf_view);
32 29
33 // views::BubbleDelegateView overrides: 30 // views::BubbleDelegateView overrides:
(...skipping 22 matching lines...) Expand all
56 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 53 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
57 54
58 ShelfLayoutManager* GetShelfLayoutManager() const; 55 ShelfLayoutManager* GetShelfLayoutManager() const;
59 56
60 ShelfView* shelf_view_; // Owned by views hierarchy. 57 ShelfView* shelf_view_; // Owned by views hierarchy.
61 gfx::Vector2d scroll_offset_; 58 gfx::Vector2d scroll_offset_;
62 59
63 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleView); 60 DISALLOW_COPY_AND_ASSIGN(OverflowBubbleView);
64 }; 61 };
65 62
66 } // namespace internal
67 } // namespace ash 63 } // namespace ash
68 64
69 #endif // ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ 65 #endif // ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « ash/shelf/overflow_bubble.cc ('k') | ash/shelf/overflow_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698