OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TABS_MODULE_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "chrome/browser/extensions/extension_function.h" | 11 #include "chrome/browser/extensions/extension_function.h" |
12 #include "chrome/common/notification_service.h" | 12 #include "chrome/common/notification_service.h" |
| 13 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
14 | 15 |
15 class BackingStore; | 16 class BackingStore; |
16 class Browser; | 17 class Browser; |
17 class DictionaryValue; | 18 class DictionaryValue; |
18 class ListValue; | 19 class ListValue; |
19 class SkBitmap; | 20 class SkBitmap; |
20 class TabContents; | 21 class TabContents; |
21 class TabStripModel; | 22 class TabStripModel; |
22 | 23 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). | 161 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). |
161 ImageFormat image_format_; | 162 ImageFormat image_format_; |
162 | 163 |
163 // Quality setting to use when encoding jpegs. Set in RunImpl(). | 164 // Quality setting to use when encoding jpegs. Set in RunImpl(). |
164 int image_quality_; | 165 int image_quality_; |
165 | 166 |
166 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") | 167 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") |
167 }; | 168 }; |
168 | 169 |
169 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 170 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
OLD | NEW |