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_API_TABS_TABS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "chrome/browser/extensions/api/execute_code_function.h" | 12 #include "chrome/browser/extensions/api/execute_code_function.h" |
13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "chrome/browser/extensions/extension_function.h" |
14 #include "chrome/common/extensions/api/tabs.h" | 14 #include "chrome/common/extensions/api/tabs.h" |
15 #include "chrome/common/extensions/user_script.h" | |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
18 #include "extensions/common/extension_resource.h" | 17 #include "extensions/common/extension_resource.h" |
| 18 #include "extensions/common/user_script.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 class BackingStore; | 21 class BackingStore; |
22 class GURL; | 22 class GURL; |
23 class SkBitmap; | 23 class SkBitmap; |
24 class TabStripModel; | 24 class TabStripModel; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class DictionaryValue; | 27 class DictionaryValue; |
28 } | 28 } |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 virtual ~TabsInsertCSSFunction() {} | 267 virtual ~TabsInsertCSSFunction() {} |
268 | 268 |
269 virtual bool ShouldInsertCSS() const OVERRIDE; | 269 virtual bool ShouldInsertCSS() const OVERRIDE; |
270 | 270 |
271 DECLARE_EXTENSION_FUNCTION("tabs.insertCSS", TABS_INSERTCSS) | 271 DECLARE_EXTENSION_FUNCTION("tabs.insertCSS", TABS_INSERTCSS) |
272 }; | 272 }; |
273 | 273 |
274 } // namespace extensions | 274 } // namespace extensions |
275 | 275 |
276 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ | 276 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ |
OLD | NEW |