Home | History | Annotate | Download | only in bookmarks

Lines Matching refs:button

24 #include "views/controls/button/menu_button.h"
25 #include "views/controls/button/text_button.h"
177 // Calculate the preferred size so that one button doesn't fit, which
178 // triggers the overflow button to appear.
186 // we brute force search for a size that triggers the overflow button.
193 views::TextButton* button = bb_view_->GetBookmarkButton(4);
194 while (button->IsVisible()) {
271 // Clicks on first menu, makes sure button is depressed. Moves mouse to first
278 views::TextButton* button = bb_view_->GetBookmarkButton(0);
279 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
291 // Button should be depressed.
292 views::TextButton* button = bb_view_->GetBookmarkButton(0);
293 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED);
311 // Make sure button is no longer pushed.
312 views::TextButton* button = bb_view_->GetBookmarkButton(0);
313 ASSERT_TRUE(button->state() == views::CustomButton::BS_NORMAL);
332 views::TextButton* button = bb_view_->GetBookmarkButton(0);
333 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
361 // Make sure button is no longer pushed.
362 views::TextButton* button = bb_view_->GetBookmarkButton(0);
363 ASSERT_TRUE(button->state() == views::CustomButton::BS_NORMAL);
382 views::MenuButton* button = bb_view_->other_bookmarked_button();
383 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
487 views::TextButton* button = bb_view_->other_bookmarked_button();
488 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
544 views::TextButton* button = bb_view_->GetBookmarkButton(0);
545 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
561 // Move mouse to center of menu and press button.
605 // Tests holding mouse down on overflow button, dragging such that menu pops up
610 // Press the mouse button on the overflow button. Don't release it though.
611 views::TextButton* button = bb_view_->overflow_button();
612 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
652 views::TextButton* button = bb_view_->GetBookmarkButton(0);
653 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
669 // Move mouse to center of menu and press button.
676 // Drag over other button.
725 views::TextButton* button = bb_view_->GetBookmarkButton(0);
726 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
742 // Move mouse to center of menu and press button.
749 // Drag over other button.
769 views::TextButton* button = bb_view_->GetBookmarkButton(0);
770 gfx::Point loc(button->width() / 2, button->height() / 2);
771 views::View::ConvertPointToScreen(button, &loc);
802 // Moves the mouse over the scroll button and makes sure we get scrolling.
810 views::TextButton* button = bb_view_->GetBookmarkButton(0);
811 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
828 // Move the mouse over the scroll button.
878 views::TextButton* button = bb_view_->GetBookmarkButton(0);
879 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
993 views::TextButton* button = bb_view_->other_bookmarked_button();
994 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
1060 views::TextButton* button = bb_view_->other_bookmarked_button();
1061 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
1107 // Press tab to give focus to the cancel button.
1116 // And press enter so that the cancel button is selected.
1148 views::TextButton* button = bb_view_->other_bookmarked_button();
1149 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
1231 // right mouse button.
1232 views::TextButton* button = bb_view_->GetBookmarkButton(0);
1233 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::RIGHT,
1272 views::TextButton* button = bb_view_->other_bookmarked_button();
1273 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
1308 // Click on the delete button.
1346 views::TextButton* button = bb_view_->GetBookmarkButton(0);
1347 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
1359 // Button should be depressed.
1360 views::TextButton* button = bb_view_->GetBookmarkButton(0);
1361 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED);
1384 // left mouse button.
1385 views::TextButton* button = bb_view_->other_bookmarked_button();
1386 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,