Home | History | Annotate | Download | only in tabs

Lines Matching refs:tab

21   // Selects the tab.
22 virtual void SelectTab(BaseTab* tab) = 0;
24 // Extends the selection from the anchor to |tab|.
25 virtual void ExtendSelectionTo(BaseTab* tab) = 0;
27 // Toggles whether |tab| is selected.
28 virtual void ToggleSelected(BaseTab* tab) = 0;
30 // Adds the selection the anchor to |tab|.
31 virtual void AddSelectionFromAnchorTo(BaseTab* tab) = 0;
33 // Closes the tab.
34 virtual void CloseTab(BaseTab* tab) = 0;
36 // Shows a context menu for the tab at the specified point in screen coords.
37 virtual void ShowContextMenuForTab(BaseTab* tab, const gfx::Point& p) = 0;
39 // Returns true if |tab| is the active tab. The active tab is the one whose
41 virtual bool IsActiveTab(const BaseTab* tab) const = 0;
43 // Returns true if the specified Tab is selected.
44 virtual bool IsTabSelected(const BaseTab* tab) const = 0;
46 // Returns true if the specified Tab is pinned.
47 virtual bool IsTabPinned(const BaseTab* tab) const = 0;
49 // Returns true if the specified Tab is closeable.
50 virtual bool IsTabCloseable(const BaseTab* tab) const = 0;
52 // Potentially starts a drag for the specified Tab.
53 virtual void MaybeStartDrag(BaseTab* tab, const views::MouseEvent& event) = 0;
55 // Continues dragging a Tab.
58 // Ends dragging a Tab. |canceled| is true if the drag was aborted in a way
59 // other than the user releasing the mouse. Returns whether the tab has been
63 // Returns the tab that contains the specified coordinates, in terms of |tab|,
64 // or NULL if there is no tab that contains the specified point.
65 virtual BaseTab* GetTabAt(BaseTab* tab,