| 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 EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 6 #define EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "content/public/browser/readback_types.h" | 9 #include "content/public/browser/readback_types.h" |
| 9 #include "extensions/browser/extension_function.h" | 10 #include "extensions/browser/extension_function.h" |
| 10 #include "extensions/common/api/extension_types.h" | 11 #include "extensions/common/api/extension_types.h" |
| 11 | 12 |
| 12 class SkBitmap; | 13 class SkBitmap; |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 class WebContents; | 16 class WebContents; |
| 16 } | 17 } |
| 17 | 18 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 58 |
| 58 // Quality setting to use when encoding jpegs. Set in RunAsync(). | 59 // Quality setting to use when encoding jpegs. Set in RunAsync(). |
| 59 int image_quality_; | 60 int image_quality_; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(CaptureWebContentsFunction); | 62 DISALLOW_COPY_AND_ASSIGN(CaptureWebContentsFunction); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace extensions | 65 } // namespace extensions |
| 65 | 66 |
| 66 #endif // EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ | 67 #endif // EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
| OLD | NEW |