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