Chromium Code Reviews| Index: chrome/browser/extensions/extension_tabs_module.h |
| diff --git a/chrome/browser/extensions/extension_tabs_module.h b/chrome/browser/extensions/extension_tabs_module.h |
| index b406a9e5fb10e30a272de64342033cc3e11c9ec5..22f38656ac8f65aa63c3e37f609f22d41e6489bf 100644 |
| --- a/chrome/browser/extensions/extension_tabs_module.h |
| +++ b/chrome/browser/extensions/extension_tabs_module.h |
| @@ -32,6 +32,9 @@ DictionaryValue* CreateTabValue(const TabContents* tab_contents); |
| DictionaryValue* CreateTabValue(const TabContents* tab_contents, |
| TabStripModel* tab_strip, |
| int tab_index); |
| +// Create a tab value, overriding its kSelectedKey to the provided boolean. |
| +DictionaryValue* CreateTabValueActive(const TabContents* tab_contents, |
| + bool selected); |
|
sky
2011/06/10 14:58:59
selected -> active
Yoyo Zhou
2011/06/10 18:04:01
Done.
|
| DictionaryValue* CreateWindowValue(const Browser* browser, |
| bool populate_tabs); |
| // Gets the |tab_strip_model| and |tab_index| for the given |tab_contents|. |