OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 6 #define EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
7 | 7 |
8 #include "extensions/common/api/extension_types.h" | 8 #include "extensions/common/api/extension_types.h" |
9 | 9 |
10 class SkBitmap; | 10 class SkBitmap; |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 class WebContents; | 13 class WebContents; |
14 } | 14 } |
15 | 15 |
16 namespace extensions { | 16 namespace extensions { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ImageDetails::Format image_format_; | 60 ImageDetails::Format image_format_; |
61 | 61 |
62 // Quality setting to use when encoding jpegs. Set in RunAsync(). | 62 // Quality setting to use when encoding jpegs. Set in RunAsync(). |
63 int image_quality_; | 63 int image_quality_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(CaptureWebContentsFunction); | 65 DISALLOW_COPY_AND_ASSIGN(CaptureWebContentsFunction); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace extensions | 68 } // namespace extensions |
69 | 69 |
70 #endif // CHROME_BROWSER_EXTENSIONS_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 70 #endif // EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
OLD | NEW |