Searched refs:AsCustomButton (Results 1 – 6 of 6) sorted by relevance
143 TEST_F(CustomButtonTest, AsCustomButton) { in TEST_F() argument147 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()
31 static const CustomButton* AsCustomButton(const views::View* view);32 static CustomButton* AsCustomButton(views::View* view);
32 const CustomButton* CustomButton::AsCustomButton(const views::View* view) { in AsCustomButton() function in views::CustomButton33 return AsCustomButton(const_cast<views::View*>(view)); in AsCustomButton()36 CustomButton* CustomButton::AsCustomButton(views::View* view) { in AsCustomButton() function in views::CustomButton
90 CustomButton* custom_button = CustomButton::AsCustomButton(sender); in ButtonPressed()116 CustomButton* custom_button = CustomButton::AsCustomButton(source); in OnMenuButtonClicked()
152 CustomButton* button = CustomButton::AsCustomButton(view); in Paint()362 DCHECK(CustomButton::AsCustomButton(button)); in CreateButtonWithAccName()533 DCHECK(CustomButton::AsCustomButton(fullscreen_button_)); in ZoomView()
98 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()