OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 class Browser; | 11 class Browser; |
12 class Profile; | 12 class Profile; |
13 class TabContents; | |
14 class TabContentsWrapper; | 13 class TabContentsWrapper; |
15 class TabStripModel; | 14 class TabStripModel; |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class DictionaryValue; | 17 class DictionaryValue; |
19 class ListValue; | 18 class ListValue; |
20 } | 19 } |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 class WebContents; | 22 class WebContents; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may | 57 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may |
59 // be NULL and will not be set within the function. | 58 // be NULL and will not be set within the function. |
60 static bool GetTabById(int tab_id, Profile* profile, bool incognito_enabled, | 59 static bool GetTabById(int tab_id, Profile* profile, bool incognito_enabled, |
61 Browser** browser, | 60 Browser** browser, |
62 TabStripModel** tab_strip, | 61 TabStripModel** tab_strip, |
63 TabContentsWrapper** contents, | 62 TabContentsWrapper** contents, |
64 int* tab_index); | 63 int* tab_index); |
65 }; | 64 }; |
66 | 65 |
67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 66 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
OLD | NEW |