Lines Matching refs:close_button
142 close_button_ = test.close_button();
150 FrameCaptionButton* close_button() { return close_button_; }
216 generator.MoveMouseTo(CenterPointInScreen(close_button()));
233 CenterPointInScreen(close_button()),
254 generator.PressMoveAndReleaseTouchTo(CenterPointInScreen(close_button()));
301 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());
311 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
313 EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon());
320 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
322 EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon());
333 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());
341 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
343 EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon());
354 EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon());
365 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());
372 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());
382 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
384 EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon());
391 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
400 generator.MoveMouseTo(CenterPointInScreen(close_button()));
403 EXPECT_EQ(views::Button::STATE_HOVERED, close_button()->state());
434 ASSERT_LT(close_button()->GetBoundsInScreen().x(),
443 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());
452 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
454 EXPECT_EQ(CAPTION_BUTTON_ICON_LEFT_SNAPPED, close_button()->icon());
460 EXPECT_EQ(views::Button::STATE_NORMAL, close_button()->state());
471 EXPECT_EQ(CAPTION_BUTTON_ICON_CLOSE, close_button()->icon());