Home | History | Annotate | Download | only in views

Lines Matching refs:button

13 #include "ui/views/controls/button/blue_button.h"
14 #include "ui/views/controls/button/image_button.h"
66 views::ImageButton* button = new views::ImageButton(this);
67 button->SetBorder(views::Border::CreateEmptyBorder(0, 9, 0, 9));
68 button->SetAccessibleName(action.tooltip_text);
69 button->SetImageAlignment(views::ImageButton::ALIGN_CENTER,
71 button->SetImage(views::CustomButton::STATE_NORMAL, &action.base_image);
72 button->SetImage(views::CustomButton::STATE_HOVERED, &action.hover_image);
73 button->SetImage(views::CustomButton::STATE_PRESSED, &action.pressed_image);
74 button->SetTooltipText(action.tooltip_text);
75 AddChildView(button);
80 views::BlueButton* button = new views::BlueButton(this, action.label_text);
81 button->SetAccessibleName(action.label_text);
82 button->SetTooltipText(action.tooltip_text);
83 button->SetFontList(ui::ResourceBundle::GetSharedInstance().GetFontList(
85 button->SetFocusable(false);
86 AddChildView(button);
98 void SearchResultActionsView::ButtonPressed(views::Button* sender,