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

Side by Side Diff: ash/system/tray/tray_item_more.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/system/tray/tray_image_item.cc ('k') | ash/system/tray/tray_item_more.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 (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 ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_
6 #define ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_
7 7
8 #include "ash/system/tray/actionable_view.h" 8 #include "ash/system/tray/actionable_view.h"
9 #include "ui/views/view.h" 9 #include "ui/views/view.h"
10 10
11 namespace views { 11 namespace views {
12 class ImageView; 12 class ImageView;
13 class Label; 13 class Label;
14 class View; 14 class View;
15 } 15 }
16 16
17 namespace ash { 17 namespace ash {
18
19 class SystemTrayItem; 18 class SystemTrayItem;
20 19
21 namespace internal {
22
23 // A view with a chevron ('>') on the right edge. Clicking on the view brings up 20 // A view with a chevron ('>') on the right edge. Clicking on the view brings up
24 // the detailed view of the tray-item that owns it. 21 // the detailed view of the tray-item that owns it.
25 class TrayItemMore : public ActionableView { 22 class TrayItemMore : public ActionableView {
26 public: 23 public:
27 TrayItemMore(SystemTrayItem* owner, bool show_more); 24 TrayItemMore(SystemTrayItem* owner, bool show_more);
28 virtual ~TrayItemMore(); 25 virtual ~TrayItemMore();
29 26
30 SystemTrayItem* owner() const { return owner_; } 27 SystemTrayItem* owner() const { return owner_; }
31 28
32 void SetLabel(const base::string16& label); 29 void SetLabel(const base::string16& label);
(...skipping 18 matching lines...) Expand all
51 // True if |more_| should be shown. 48 // True if |more_| should be shown.
52 bool show_more_; 49 bool show_more_;
53 views::ImageView* icon_; 50 views::ImageView* icon_;
54 views::Label* label_; 51 views::Label* label_;
55 views::ImageView* more_; 52 views::ImageView* more_;
56 base::string16 accessible_name_; 53 base::string16 accessible_name_;
57 54
58 DISALLOW_COPY_AND_ASSIGN(TrayItemMore); 55 DISALLOW_COPY_AND_ASSIGN(TrayItemMore);
59 }; 56 };
60 57
61 } // namespace internal
62 } // namespace ash 58 } // namespace ash
63 59
64 #endif // ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_ 60 #endif // ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_image_item.cc ('k') | ash/system/tray/tray_item_more.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698