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

Side by Side Diff: athena/system/status_icon_container_view.h

Issue 483363003: [Athena] Add status icons and system time to the desktop background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2014 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 ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
6 #define ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
7
8 #include "athena/system/public/system_ui.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/view.h"
11
12 namespace aura {
13 class Window;
14 }
15
16 namespace athena {
17
18 // View which displays the system tray icons.
19 class StatusIconContainerView : public views::View {
20 public:
21 explicit StatusIconContainerView(aura::Window* popup_container);
22 virtual ~StatusIconContainerView();
23
24 private:
25 // views::View:
26 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
27 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
28 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
29
30 // Parent container that the "select network" dialog should use.
31 aura::Window* popup_container_;
32
33 class PowerStatus;
34 scoped_ptr<PowerStatus> power_status_;
35
36 class NetworkStatus;
37 scoped_ptr<NetworkStatus> network_status_;
38
39 class UpdateStatus;
40 scoped_ptr<UpdateStatus> update_status_;
41
42 DISALLOW_COPY_AND_ASSIGN(StatusIconContainerView);
43 };
44
45 } // namespace athena
46
47 #endif // ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698