Home
last modified time | relevance | path

Searched refs:AsCustomButton (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/views/controls/button/
Dcustom_button_unittest.cc143 TEST_F(CustomButtonTest, AsCustomButton) { in TEST_F() argument
147 EXPECT_TRUE(CustomButton::AsCustomButton(&label_button)); in TEST_F()
150 EXPECT_TRUE(CustomButton::AsCustomButton(&image_button)); in TEST_F()
153 EXPECT_TRUE(CustomButton::AsCustomButton(&checkbox)); in TEST_F()
156 EXPECT_TRUE(CustomButton::AsCustomButton(&radio_button)); in TEST_F()
159 EXPECT_TRUE(CustomButton::AsCustomButton(&menu_button)); in TEST_F()
162 EXPECT_FALSE(CustomButton::AsCustomButton(&label)); in TEST_F()
165 EXPECT_FALSE(CustomButton::AsCustomButton(&link)); in TEST_F()
168 EXPECT_FALSE(CustomButton::AsCustomButton(&textfield)); in TEST_F()
Dcustom_button.h31 static const CustomButton* AsCustomButton(const views::View* view);
32 static CustomButton* AsCustomButton(views::View* view);
Dcustom_button.cc32 const CustomButton* CustomButton::AsCustomButton(const views::View* view) { in AsCustomButton() function in views::CustomButton
33 return AsCustomButton(const_cast<views::View*>(view)); in AsCustomButton()
36 CustomButton* CustomButton::AsCustomButton(views::View* view) { in AsCustomButton() function in views::CustomButton
Dmenu_button_unittest.cc90 CustomButton* custom_button = CustomButton::AsCustomButton(sender); in ButtonPressed()
116 CustomButton* custom_button = CustomButton::AsCustomButton(source); in OnMenuButtonClicked()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.cc152 CustomButton* button = CustomButton::AsCustomButton(view); in Paint()
362 DCHECK(CustomButton::AsCustomButton(button)); in CreateButtonWithAccName()
533 DCHECK(CustomButton::AsCustomButton(fullscreen_button_)); in ZoomView()
/external/chromium_org/ui/views/controls/menu/
Dmenu_controller.cc98 CustomButton* button = CustomButton::AsCustomButton(view); in GetFirstHotTrackedView()
1876 CustomButton* button_hot = CustomButton::AsCustomButton(to_make_hot); in IncrementSelection()
1883 CustomButton* button_hot = CustomButton::AsCustomButton(to_make_hot); in IncrementSelection()
1903 CustomButton* button_hot = CustomButton::AsCustomButton(to_make_hot); in IncrementSelection()