blob: ec604883d42c031619ddddaf246c1b7ed340409c [file] [log] [blame]
// 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:
StatusIconContainerView(SystemUI::ColorScheme color_scheme,
aura::Window* popup_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_