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_EXTENSION_TABS_MODULE_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "chrome/browser/extensions/extension_function.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). | 192 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). |
193 ImageFormat image_format_; | 193 ImageFormat image_format_; |
194 | 194 |
195 // Quality setting to use when encoding jpegs. Set in RunImpl(). | 195 // Quality setting to use when encoding jpegs. Set in RunImpl(). |
196 int image_quality_; | 196 int image_quality_; |
197 | 197 |
198 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") | 198 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") |
199 }; | 199 }; |
200 | 200 |
201 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 201 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_H__ |
OLD | NEW |