#ifndef UI_APP_LIST_VIEWS_PROGRESS_BAR_VIEW_H_
#define UI_APP_LIST_VIEWS_PROGRESS_BAR_VIEW_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "ui/views/controls/progress_bar.h"
namespace views {
class Painter;
}
namespace app_list {
class ProgressBarView : public views::ProgressBar {
public:
ProgressBarView();
virtual ~ProgressBarView();
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
private:
scoped_ptr<views::Painter> background_painter_;
scoped_ptr<views::Painter> bar_painter_;
DISALLOW_COPY_AND_ASSIGN(ProgressBarView);
};
}
#endif