Lines Matching defs:ShelfButton

111 // ShelfButton::BarView
113 class ShelfButton::BarView : public views::ImageView,
116 BarView(ShelfButton* host)
188 ShelfButton* host_;
196 // ShelfButton::IconView
198 ShelfButton::IconView::IconView() : icon_size_(kIconSize) {
201 ShelfButton::IconView::~IconView() {
204 bool ShelfButton::IconView::CanProcessEventsWithinSubtree() const {
210 // ShelfButton
212 ShelfButton* ShelfButton::Create(views::ButtonListener* listener,
215 ShelfButton* button = new ShelfButton(listener, host, shelf_layout_manager);
220 ShelfButton::ShelfButton(views::ButtonListener* listener,
242 ShelfButton::~ShelfButton() {
247 void ShelfButton::SetShadowedImage(const gfx::ImageSkia& image) {
252 void ShelfButton::SetImage(const gfx::ImageSkia& image) {
284 const gfx::ImageSkia& ShelfButton::GetImage() const {
288 void ShelfButton::AddState(State state) {
297 void ShelfButton::ClearState(State state) {
306 gfx::Rect ShelfButton::GetIconBounds() const {
310 void ShelfButton::ShowContextMenu(const gfx::Point& p,
329 bool ShelfButton::OnMousePressed(const ui::MouseEvent& event) {
335 void ShelfButton::OnMouseReleased(const ui::MouseEvent& event) {
340 void ShelfButton::OnMouseCaptureLost() {
346 bool ShelfButton::OnMouseDragged(const ui::MouseEvent& event) {
352 void ShelfButton::OnMouseMoved(const ui::MouseEvent& event) {
357 void ShelfButton::OnMouseEntered(const ui::MouseEvent& event) {
363 void ShelfButton::OnMouseExited(const ui::MouseEvent& event) {
369 void ShelfButton::GetAccessibleState(ui::AXViewState* state) {
374 void ShelfButton::Layout() {
424 void ShelfButton::ChildPreferredSizeChanged(views::View* child) {
428 void ShelfButton::OnFocus() {
433 void ShelfButton::OnBlur() {
438 void ShelfButton::OnPaint(gfx::Canvas* canvas) {
447 void ShelfButton::OnGestureEvent(ui::GestureEvent* event) {
473 void ShelfButton::Init() {
485 ShelfButton::IconView* ShelfButton::CreateIconView() {
489 bool ShelfButton::IsShelfHorizontal() const {
493 void ShelfButton::UpdateState() {
505 void ShelfButton::UpdateBar() {