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" | |
13 #include "chrome/common/notification_observer.h" | 12 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
15 | 14 |
16 class BackingStore; | 15 class BackingStore; |
17 class Browser; | 16 class Browser; |
18 class DictionaryValue; | 17 class DictionaryValue; |
19 class ListValue; | 18 class ListValue; |
20 class SkBitmap; | 19 class SkBitmap; |
21 class TabContents; | 20 class TabContents; |
22 class TabContentsWrapper; | 21 class TabContentsWrapper; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). | 163 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). |
165 ImageFormat image_format_; | 164 ImageFormat image_format_; |
166 | 165 |
167 // Quality setting to use when encoding jpegs. Set in RunImpl(). | 166 // Quality setting to use when encoding jpegs. Set in RunImpl(). |
168 int image_quality_; | 167 int image_quality_; |
169 | 168 |
170 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") | 169 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") |
171 }; | 170 }; |
172 | 171 |
173 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 172 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
OLD | NEW |