#ifndef UI_VIEWS_SHADOW_BORDER_H_
#define UI_VIEWS_SHADOW_BORDER_H_
#include "third_party/skia/include/core/SkColor.h"
#include "ui/views/border.h"
#include "ui/views/views_export.h"
namespace views {
class VIEWS_EXPORT ShadowBorder : public views::Border {
public:
ShadowBorder(int blur,
SkColor color,
int vertical_offset,
int horizontal_offset);
virtual ~ShadowBorder();
protected:
virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE;
virtual gfx::Insets GetInsets() const OVERRIDE;
virtual gfx::Size GetMinimumSize() const OVERRIDE;
private:
const int blur_;
const SkColor color_;
const int vertical_offset_;
const int horizontal_offset_;
DISALLOW_COPY_AND_ASSIGN(ShadowBorder);
};
}
#endif