| Index: athena/system/status_icon_container_view.h
|
| diff --git a/athena/system/status_icon_container_view.h b/athena/system/status_icon_container_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e011ba32ff6a4e1ce31b6da97698533be54682db
|
| --- /dev/null
|
| +++ b/athena/system/status_icon_container_view.h
|
| @@ -0,0 +1,47 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
|
| +#define ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
|
| +
|
| +#include "athena/system/public/system_ui.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "ui/views/view.h"
|
| +
|
| +namespace aura {
|
| +class Window;
|
| +}
|
| +
|
| +namespace athena {
|
| +
|
| +// View which displays the system tray icons.
|
| +class StatusIconContainerView : public views::View {
|
| + public:
|
| + explicit StatusIconContainerView(aura::Window* system_modal_container);
|
| + virtual ~StatusIconContainerView();
|
| +
|
| + private:
|
| + // views::View:
|
| + virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
|
| + virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
| + virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
|
| +
|
| + // Parent container that the "select network" dialog should use.
|
| + aura::Window* system_modal_container_;
|
| +
|
| + class PowerStatus;
|
| + scoped_ptr<PowerStatus> power_status_;
|
| +
|
| + class NetworkStatus;
|
| + scoped_ptr<NetworkStatus> network_status_;
|
| +
|
| + class UpdateStatus;
|
| + scoped_ptr<UpdateStatus> update_status_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(StatusIconContainerView);
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_SYSTEM_STATUS_ICON_CONTAINER_VIEW_H_
|
|
|