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" | |
13 #include "chrome/browser/extensions/chrome_extension_function.h" | 12 #include "chrome/browser/extensions/chrome_extension_function.h" |
14 #include "chrome/browser/extensions/chrome_extension_function_details.h" | 13 #include "chrome/browser/extensions/chrome_extension_function_details.h" |
15 #include "chrome/browser/ui/zoom/zoom_controller.h" | 14 #include "chrome/browser/ui/zoom/zoom_controller.h" |
16 #include "chrome/common/extensions/api/tabs.h" | 15 #include "chrome/common/extensions/api/tabs.h" |
17 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
19 #include "extensions/browser/api/capture_web_contents_function.h" | 18 #include "extensions/browser/api/capture_web_contents_function.h" |
| 19 #include "extensions/browser/api/execute_code_function.h" |
20 #include "extensions/common/extension_resource.h" | 20 #include "extensions/common/extension_resource.h" |
21 #include "extensions/common/user_script.h" | 21 #include "extensions/common/user_script.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 | 23 |
24 class GURL; | 24 class GURL; |
25 class SkBitmap; | 25 class SkBitmap; |
26 class TabStripModel; | 26 class TabStripModel; |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class DictionaryValue; | 29 class DictionaryValue; |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 virtual ~TabsGetZoomSettingsFunction() {} | 308 virtual ~TabsGetZoomSettingsFunction() {} |
309 | 309 |
310 virtual bool RunAsync() OVERRIDE; | 310 virtual bool RunAsync() OVERRIDE; |
311 | 311 |
312 DECLARE_EXTENSION_FUNCTION("tabs.getZoomSettings", TABS_GETZOOMSETTINGS) | 312 DECLARE_EXTENSION_FUNCTION("tabs.getZoomSettings", TABS_GETZOOMSETTINGS) |
313 }; | 313 }; |
314 | 314 |
315 } // namespace extensions | 315 } // namespace extensions |
316 | 316 |
317 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ | 317 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_ |
OLD | NEW |