#ifndef UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_
#define UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_
#include "base/basictypes.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
namespace app_list {
class ContentsView;
class ContentsSwitcherView : public views::View, public views::ButtonListener {
public:
explicit ContentsSwitcherView(ContentsView* contents_view);
virtual ~ContentsSwitcherView();
private:
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
ContentsView* contents_view_;
views::View* buttons_;
DISALLOW_COPY_AND_ASSIGN(ContentsSwitcherView);
};
}
#endif