/external/chromium_org/ui/views/controls/button/ |
custom_button.cc | 27 const char CustomButton::kViewClassName[] = "CustomButton"; 30 // CustomButton, public: 33 const CustomButton* CustomButton::AsCustomButton(const views::View* view) { 37 CustomButton* CustomButton::AsCustomButton(views::View* view) { 41 !strcmp(classname, CustomButton::kViewClassName) || 47 return static_cast<CustomButton*>(view); 53 CustomButton::~CustomButton() [all...] |
custom_button_unittest.cc | 29 class TestCustomButton : public CustomButton { 32 : CustomButton(listener) { 42 void PerformGesture(CustomButton* button, ui::EventType event_type) { 57 // Create a widget so that the CustomButton can query the hover state 84 EXPECT_EQ(CustomButton::STATE_PRESSED, button->state()); 88 EXPECT_EQ(CustomButton::STATE_HOVERED, button->state()); 91 EXPECT_EQ(CustomButton::STATE_DISABLED, button->state()); 94 EXPECT_EQ(CustomButton::STATE_HOVERED, button->state()); 97 EXPECT_EQ(CustomButton::STATE_NORMAL, button->state()); 100 EXPECT_EQ(CustomButton::STATE_HOVERED, button->state()) [all...] |
custom_button.h | 26 class VIEWS_EXPORT CustomButton : public Button, 32 static const CustomButton* AsCustomButton(const views::View* view); 33 static CustomButton* AsCustomButton(views::View* view); 35 virtual ~CustomButton(); 100 explicit CustomButton(ButtonListener* listener); 103 // the current state. CustomButton's implementation of StateChanged() does 143 DISALLOW_COPY_AND_ASSIGN(CustomButton); 146 // Delegate for actions taken on state changes by CustomButton.
|
/external/chromium_org/ui/views/controls/scrollbar/ |
base_scroll_bar_thumb.cc | 23 state_(CustomButton::STATE_NORMAL) { 69 SetState(CustomButton::STATE_HOVERED); 73 SetState(CustomButton::STATE_NORMAL); 79 SetState(CustomButton::STATE_PRESSED); 114 CustomButton::STATE_HOVERED : CustomButton::STATE_NORMAL); 118 SetState(CustomButton::STATE_HOVERED); 121 CustomButton::ButtonState BaseScrollBarThumb::GetState() const { 125 void BaseScrollBarThumb::SetState(CustomButton::ButtonState state) { 129 CustomButton::ButtonState old_state = state_ [all...] |
base_scroll_bar_thumb.h | 59 CustomButton::ButtonState GetState() const; 61 void SetState(CustomButton::ButtonState state); 76 CustomButton::ButtonState state_;
|
base_scroll_bar_button.h | 27 class VIEWS_EXPORT BaseScrollBarButton : public CustomButton {
|
base_scroll_bar.h | 63 void OnThumbStateChanged(CustomButton::ButtonState old_state, 64 CustomButton::ButtonState new_state); 105 CustomButton::ButtonState GetThumbTrackState() const; 123 void SetState(CustomButton::ButtonState state); 147 void SetThumbTrackState(CustomButton::ButtonState state); 162 CustomButton::ButtonState thumb_track_state_;
|
bitmap_scroll_bar.h | 55 CustomButton::ButtonState state, 81 gfx::ImageSkia* images_[PART_COUNT][CustomButton::STATE_COUNT];
|
kennedy_scroll_bar.cc | 52 (GetState() == CustomButton::STATE_HOVERED || 53 GetState() == CustomButton::STATE_PRESSED) ? 98 CustomButton::ButtonState state = GetThumbTrackState(); 99 if ((state == CustomButton::STATE_HOVERED) || 100 (state == CustomButton::STATE_PRESSED)) {
|
base_scroll_bar.cc | 44 thumb_track_state_(CustomButton::STATE_NORMAL), 118 void BaseScrollBar::OnThumbStateChanged(CustomButton::ButtonState old_state, 119 CustomButton::ButtonState new_state) { 120 if (old_state == CustomButton::STATE_PRESSED && 121 new_state == CustomButton::STATE_NORMAL && 122 GetThumbTrackState() == CustomButton::STATE_HOVERED) { 123 SetThumbTrackState(CustomButton::STATE_NORMAL); 138 CustomButton::STATE_HOVERED : CustomButton::STATE_NORMAL); 142 SetState(CustomButton::STATE_NORMAL) [all...] |
base_scroll_bar_button.cc | 14 : CustomButton(listener),
|
/external/chromium_org/ash/wm/caption_buttons/ |
bubble_contents_button_row.h | 12 class CustomButton; 36 views::CustomButton* GetButtonForUnitTest(SnapType state);
|
maximize_bubble_controller.h | 22 class CustomButton; 68 views::CustomButton* GetButtonForUnitTest(SnapType state);
|
maximize_bubble_controller_bubble.h | 13 class CustomButton; 77 views::CustomButton* GetButtonForUnitTest(SnapType state);
|
bubble_contents_button_row.cc | 51 SetImage(views::CustomButton::STATE_NORMAL, 53 SetImage(views::CustomButton::STATE_HOVERED, 55 SetImage(views::CustomButton::STATE_PRESSED, 161 views::CustomButton* BubbleContentsButtonRow::GetButtonForUnitTest(
|
/external/chromium_org/ash/shelf/ |
overflow_button.h | 18 class OverflowButton : public views::CustomButton {
|
/external/chromium_org/ash/system/tray/ |
tray_bar_button_with_title.h | 22 class TrayBarButtonWithTitle : public views::CustomButton { 34 // Overridden from views::CustomButton:
|
/external/chromium/chrome/browser/ui/views/ |
toolbar_view.cc | 629 back_->SetImage(views::CustomButton::BS_NORMAL, tp->GetBitmapNamed(IDR_BACK)); 630 back_->SetImage(views::CustomButton::BS_HOT, tp->GetBitmapNamed(IDR_BACK_H)); 631 back_->SetImage(views::CustomButton::BS_PUSHED, 633 back_->SetImage(views::CustomButton::BS_DISABLED, 636 forward_->SetImage(views::CustomButton::BS_NORMAL, 638 forward_->SetImage(views::CustomButton::BS_HOT, 640 forward_->SetImage(views::CustomButton::BS_PUSHED, 642 forward_->SetImage(views::CustomButton::BS_DISABLED, 645 reload_->SetImage(views::CustomButton::BS_NORMAL, 647 reload_->SetImage(views::CustomButton::BS_HOT [all...] |
/external/chromium_org/apps/ui/views/ |
shell_window_frame_view.cc | 66 close_button_->SetImage(views::CustomButton::STATE_NORMAL, 68 close_button_->SetImage(views::CustomButton::STATE_HOVERED, 70 close_button_->SetImage(views::CustomButton::STATE_PRESSED, 76 maximize_button_->SetImage(views::CustomButton::STATE_NORMAL, 78 maximize_button_->SetImage(views::CustomButton::STATE_HOVERED, 80 maximize_button_->SetImage(views::CustomButton::STATE_PRESSED, 82 maximize_button_->SetImage(views::CustomButton::STATE_DISABLED, 88 restore_button_->SetImage(views::CustomButton::STATE_NORMAL, 90 restore_button_->SetImage(views::CustomButton::STATE_HOVERED, 92 restore_button_->SetImage(views::CustomButton::STATE_PRESSED [all...] |
/external/chromium_org/ui/message_center/views/ |
notification_button.cc | 20 : views::CustomButton(listener), 84 CustomButton::OnPaint(canvas); 89 views::CustomButton::OnFocus(); 96 views::CustomButton::OnBlur();
|
notification_button.h | 21 class NotificationButton : public views::CustomButton { 36 // Overridden from views::CustomButton:
|
padded_button.cc | 36 SetImage(views::CustomButton::STATE_NORMAL, 42 SetImage(views::CustomButton::STATE_HOVERED, 48 SetImage(views::CustomButton::STATE_PRESSED,
|
/external/chromium_org/ui/app_list/views/ |
search_result_actions_view.cc | 69 button->SetImage(views::CustomButton::STATE_NORMAL, &action.base_image); 70 button->SetImage(views::CustomButton::STATE_HOVERED, &action.hover_image); 71 button->SetImage(views::CustomButton::STATE_PRESSED, &action.pressed_image);
|
/external/chromium_org/ui/views/controls/combobox/ |
combobox.h | 31 class CustomButton; 209 CustomButton* text_button_; 210 CustomButton* arrow_button_;
|
/external/chromium_org/chrome/browser/ui/views/ |
find_bar_view.cc | 103 find_previous_button_->SetImage(views::CustomButton::STATE_NORMAL, 105 find_previous_button_->SetImage(views::CustomButton::STATE_HOVERED, 107 find_previous_button_->SetImage(views::CustomButton::STATE_PRESSED, 109 find_previous_button_->SetImage(views::CustomButton::STATE_DISABLED, 120 find_next_button_->SetImage(views::CustomButton::STATE_NORMAL, 122 find_next_button_->SetImage(views::CustomButton::STATE_HOVERED, 124 find_next_button_->SetImage(views::CustomButton::STATE_PRESSED, 126 find_next_button_->SetImage(views::CustomButton::STATE_DISABLED, 137 close_button_->SetImage(views::CustomButton::STATE_NORMAL, 139 close_button_->SetImage(views::CustomButton::STATE_HOVERED [all...] |