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

Side by Side Diff: ash/system/tray/tray_item_more.h

Issue 9753019: ash: Add a bluetooth entry in the uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_
6 #define ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_
7 #pragma once
8
9 #include "ui/views/view.h"
10
11 namespace views {
12 class ImageView;
13 }
14
15 namespace ash {
16
17 class SystemTrayItem;
18
19 namespace internal {
20
21 // A view with a chevron ('>') on the right edge. Clicking on the view brings up
22 // the detailed view of the tray-item that owns it.
23 class TrayItemMore : public views::View {
24 public:
25 explicit TrayItemMore(SystemTrayItem* owner);
26 virtual ~TrayItemMore();
27
28 void AddMore();
29
30 private:
31 // Overridden from views::View.
32 virtual void Layout() OVERRIDE;
33 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
34
35 SystemTrayItem* owner_;
36 views::ImageView* more_;
37
38 DISALLOW_COPY_AND_ASSIGN(TrayItemMore);
39 };
40
41 } // namespace internal
42 } // namespace ash
43
44 #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