Searched refs:TabDragController (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller_interactive_uitest_win.cc63 EXPECT_FALSE(TabDragController::IsActive());
93 ASSERT_TRUE(TabDragController::IsActive());
100 ASSERT_TRUE(TabDragController::IsActive());
107 ASSERT_FALSE(TabDragController::IsActive());
131 ASSERT_FALSE(TabDragController::IsActive());
158 ASSERT_TRUE(TabDragController::IsActive());
165 ASSERT_FALSE(TabDragController::IsActive());
187 ASSERT_TRUE(TabDragController::IsActive());
194 ASSERT_FALSE(TabDragController::IsActive());
219 ASSERT_FALSE(TabDragController
[all...]
H A Dtab_drag_controller.cc56 static TabDragController* instance_ = NULL;
159 TabDragController::TabDragData::TabDragData()
166 TabDragController::TabDragData::~TabDragData() {
170 // TabDragController, public:
173 const int TabDragController::kTouchVerticalDetachMagnetism = 50;
176 const int TabDragController::kVerticalDetachMagnetism = 15;
178 TabDragController::TabDragController() function in class:TabDragController
212 TabDragController::~TabDragController() {
[all...]
H A Dtab_drag_controller.h38 // TabDragController is responsible for managing the tab dragging session. When
39 // the user presses the mouse on a tab a new TabDragController is created and
41 // TabDragController starts a drag session. The drag session is completed when
42 // EndDrag() is invoked (or the TabDragController is destroyed).
44 // While dragging within a tab strip TabDragController sets the bounds of the
49 class TabDragController : public content::NotificationObserver, class in inherits:content::NotificationObserver,views::WidgetObserver,TabStripModelObserver
73 TabDragController();
74 virtual ~TabDragController();
76 // Initializes TabDragController to drag the tabs in |tabs| originating from
95 // NOTE: this returns false if the TabDragController i
[all...]
H A Dtab_drag_controller_interactive_uitest.cc199 return std::max(TabDragController::kTouchVerticalDetachMagnetism,
200 TabDragController::kVerticalDetachMagnetism) +
341 EXPECT_TRUE(TabDragController::IsActive());
349 EXPECT_FALSE(TabDragController::IsActive());
557 EXPECT_FALSE(TabDragController::IsActive());
573 ASSERT_TRUE(TabDragController::IsActive());
617 ASSERT_TRUE(TabDragController::IsActive());
624 ASSERT_FALSE(TabDragController::IsActive());
693 ASSERT_FALSE(TabDragController::IsActive());
760 ASSERT_FALSE(TabDragController
[all...]
H A Dtab_strip.h28 class TabDragController;
276 friend class TabDragController;
405 // Used by TabDragController when the user starts or stops dragging tabs.
408 // Invoked when TabDragController detaches a set of tabs.
411 // Used by TabDragController when the user stops dragging tabs. |move_only| is
412 // true if the move behavior is TabDragController::MOVE_VISIBILE_TABS.
425 void OwnDragController(TabDragController* controller);
427 // Destroys the current TabDragController. This cancel the existing drag
431 // Releases ownership of the current TabDragController.
432 TabDragController* ReleaseDragControlle
[all...]
H A Dtab_strip.cc221 TabDragController::EventSource EventSourceFromEvent(
223 return event.IsGestureEvent() ? TabDragController::EVENT_SOURCE_TOUCH :
224 TabDragController::EVENT_SOURCE_MOUSE;
619 // could allow this and make TabDragController update itself during the add,
671 if (TabDragController::IsAttachedTo(this) &&
1087 TabDragController::MoveBehavior move_behavior =
1088 TabDragController::REORDER;
1103 move_behavior = TabDragController::MOVE_VISIBILE_TABS;
1106 drag_controller_.reset(new TabDragController);
1557 if (TabDragController
[all...]

Completed in 86 milliseconds