| Index: chrome/views/tabbed_pane.h
|
| ===================================================================
|
| --- chrome/views/tabbed_pane.h (revision 7195)
|
| +++ chrome/views/tabbed_pane.h (working copy)
|
| @@ -51,6 +51,9 @@
|
| // Selects the tab at the specified |index|.
|
| void SelectTabAt(int index);
|
|
|
| + // Selects the tab with the specified |contents|.
|
| + void SelectTabForContents(const View* contents);
|
| +
|
| // Returns the number of tabs.
|
| int GetTabCount();
|
|
|
| @@ -67,6 +70,10 @@
|
| // Changes the contents view to the view associated with the tab at |index|.
|
| void DoSelectTabAt(int index);
|
|
|
| + // Gets the tab index from the specified |contents|. Returns -1 when no tab
|
| + // contains |contents|.
|
| + int GetIndexOfTab(const View* contents) const;
|
| +
|
| void ResizeContents(HWND tab_control);
|
|
|
| HWND tab_control_;
|
|
|