Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: chrome/browser/extensions/extension_tab_util.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "chrome/common/extensions/api/tabs.h" 12 #include "chrome/common/extensions/api/tabs.h"
13 #include "ui/base/window_open_disposition.h" 13 #include "ui/base/window_open_disposition.h"
14 14
15 class Browser; 15 class Browser;
16 class ChromeExtensionFunctionDetails; 16 class ChromeExtensionFunctionDetails;
17 class ChromeUIThreadExtensionFunction; 17 class ChromeUIThreadExtensionFunction;
18 class ExtensionFunction;
19 class GURL; 18 class GURL;
20 class Profile;
21 class TabStripModel; 19 class TabStripModel;
22 class UIThreadExtensionFunction; 20 class UIThreadExtensionFunction;
23 21
24 namespace base { 22 namespace base {
25 class DictionaryValue; 23 class DictionaryValue;
26 class ListValue; 24 class ListValue;
27 } 25 }
28 26
29 namespace content { 27 namespace content {
30 class BrowserContext; 28 class BrowserContext;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 static bool OpenOptionsPage(const Extension* extension, Browser* browser); 173 static bool OpenOptionsPage(const Extension* extension, Browser* browser);
176 174
177 // Returns true if the given Browser can report tabs to extensions. 175 // Returns true if the given Browser can report tabs to extensions.
178 // Example of Browsers which don't support tabs include apps and devtools. 176 // Example of Browsers which don't support tabs include apps and devtools.
179 static bool BrowserSupportsTabs(Browser* browser); 177 static bool BrowserSupportsTabs(Browser* browser);
180 }; 178 };
181 179
182 } // namespace extensions 180 } // namespace extensions
183 181
184 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_ 182 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_system_impl.h ('k') | chrome/browser/extensions/extension_ui_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698