summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status_area_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/status_area_button.h')
-rw-r--r--chrome/browser/chromeos/status_area_button.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/status_area_button.h b/chrome/browser/chromeos/status_area_button.h
new file mode 100644
index 0000000..b862215
--- /dev/null
+++ b/chrome/browser/chromeos/status_area_button.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2006-2008 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 CHROME_BROWSER_CHROMEOS_STATUS_AREA_BUTTON_H_
+#define CHROME_BROWSER_CHROMEOS_STATUS_AREA_BUTTON_H_
+
+#include "views/controls/button/menu_button.h"
+#include "views/controls/menu/view_menu_delegate.h"
+
+// Button to be used to represent status and allow menus to be popped up.
+// Shows current button state by drawing a border around the current icon.
+class StatusAreaButton : public views::MenuButton {
+ public:
+ StatusAreaButton(views::ViewMenuDelegate* menu_delegate);
+ virtual ~StatusAreaButton() {}
+ virtual void Paint(gfx::Canvas* canvas, bool for_drag);
+};
+
+#endif // CHROME_BROWSER_CHROMEOS_STATUS_AREA_BUTTON_H_