Home | History | Annotate | Download | only in tabs

Lines Matching refs:tab

10 class Tab;
32 // Selects the tab.
33 virtual void SelectTab(Tab* tab) = 0;
35 // Extends the selection from the anchor to |tab|.
36 virtual void ExtendSelectionTo(Tab* tab) = 0;
38 // Toggles whether |tab| is selected.
39 virtual void ToggleSelected(Tab* tab) = 0;
41 // Adds the selection from the anchor to |tab|.
42 virtual void AddSelectionFromAnchorTo(Tab* tab) = 0;
44 // Closes the tab.
45 virtual void CloseTab(Tab* tab, CloseTabSource source) = 0;
47 // Shows a context menu for the tab at the specified point in screen coords.
48 virtual void ShowContextMenuForTab(Tab* tab,
52 // Returns true if |tab| is the active tab. The active tab is the one whose
54 virtual bool IsActiveTab(const Tab* tab) const = 0;
56 // Returns true if the specified Tab is selected.
57 virtual bool IsTabSelected(const Tab* tab) const = 0;
59 // Returns true if the specified Tab is pinned.
60 virtual bool IsTabPinned(const Tab* tab) const = 0;
62 // Potentially starts a drag for the specified Tab.
64 Tab* tab,
68 // Continues dragging a Tab.
72 // Ends dragging a Tab. Returns whether the tab has been destroyed.
75 // Returns the tab that contains the specified coordinates, in terms of |tab|,
76 // or NULL if there is no tab that contains the specified point.
77 virtual Tab* GetTabAt(Tab* tab,
84 // Returns true if |tab| needs to be painted. If false is returned the tab is
85 // not painted. If true is returned the tab should be painted and |clip| is
87 virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) = 0;