Lines Matching refs:index
26 // Returns true if |index| is a valid model index.
27 virtual bool IsValidIndex(int index) const = 0;
29 // Returns true if the tab at |index| is the active tab. The active tab is the
31 virtual bool IsActiveTab(int index) const = 0;
33 // Returns true if the selected index is selected.
34 virtual bool IsTabSelected(int index) const = 0;
36 // Returns true if the selected index is pinned.
37 virtual bool IsTabPinned(int index) const = 0;
39 // Returns true if the selected index is closeable.
40 virtual bool IsTabCloseable(int index) const = 0;
42 // Returns true if the selected index is the new tab page.
43 virtual bool IsNewTabPage(int index) const = 0;
45 // Select the tab at the specified index in the model.
46 virtual void SelectTab(int index) = 0;
48 // Extends the selection from the anchor to the specified index in the model.
49 virtual void ExtendSelectionTo(int index) = 0;
51 // Toggles the selection of the specified index in the model.
52 virtual void ToggleSelected(int index) = 0;
54 // Adds the selection the anchor to |index|.
55 virtual void AddSelectionFromAnchorTo(int index) = 0;
57 // Closes the tab at the specified index in the model.
58 virtual void CloseTab(int index) = 0;
73 virtual void PerformDrop(bool drop_before, int index, const GURL& url) = 0;