summaryrefslogtreecommitdiffstats
path: root/chromium/ash/shelf/overflow_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/shelf/overflow_button.h')
-rw-r--r--chromium/ash/shelf/overflow_button.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/chromium/ash/shelf/overflow_button.h b/chromium/ash/shelf/overflow_button.h
deleted file mode 100644
index 9e7350550a4..00000000000
--- a/chromium/ash/shelf/overflow_button.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 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_SHELF_OVERFLOW_BUTTON_H_
-#define ASH_SHELF_OVERFLOW_BUTTON_H_
-
-#include "ash/shelf/shelf_types.h"
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/gfx/image/image_skia.h"
-#include "ui/views/controls/button/custom_button.h"
-
-namespace ash {
-namespace internal {
-
-// Shelf overflow chevron button.
-class OverflowButton : public views::CustomButton {
- public:
- explicit OverflowButton(views::ButtonListener* listener);
- virtual ~OverflowButton();
-
- void OnShelfAlignmentChanged();
-
- private:
- void PaintBackground(gfx::Canvas* canvas, int alpha);
-
- // views::View overrides:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
-
- // Left and right images are rotations of bottom_image and are
- // owned by the overflow button.
- gfx::ImageSkia left_image_;
- gfx::ImageSkia right_image_;
- // Bottom image is owned by the resource bundle.
- const gfx::ImageSkia* bottom_image_;
-
- DISALLOW_COPY_AND_ASSIGN(OverflowButton);
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_SHELF_OVERFLOW_BUTTON_H_