summaryrefslogtreecommitdiffstats
path: root/ash/status_area/status_area_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/status_area/status_area_view.h')
-rw-r--r--ash/status_area/status_area_view.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ash/status_area/status_area_view.h b/ash/status_area/status_area_view.h
new file mode 100644
index 0000000..7e7f8dc
--- /dev/null
+++ b/ash/status_area/status_area_view.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2011 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 ASH_STATUS_AREA_STATUS_AREA_VIEW_H_
+#define ASH_STATUS_AREA_STATUS_AREA_VIEW_H_
+#pragma once
+
+#include "third_party/skia/include/core/SkBitmap.h"
+#include "ui/views/widget/widget_delegate.h"
+
+namespace aura_shell {
+namespace internal {
+
+class StatusAreaView : public views::WidgetDelegateView {
+ public:
+ StatusAreaView();
+ virtual ~StatusAreaView();
+
+ // Overridden from views::View:
+ virtual gfx::Size GetPreferredSize() OVERRIDE;
+
+ private:
+ virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+
+ SkBitmap status_mock_;
+
+ DISALLOW_COPY_AND_ASSIGN(StatusAreaView);
+};
+
+} // namespace internal
+} // namespace aura_shell
+
+#endif // ASH_STATUS_AREA_STATUS_AREA_VIEW_H_