| 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 PRINTING_PDF_METAFILE_SKIA_H_ | 5 #ifndef PRINTING_PDF_METAFILE_SKIA_H_ |
| 6 #define PRINTING_PDF_METAFILE_SKIA_H_ | 6 #define PRINTING_PDF_METAFILE_SKIA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "printing/metafile.h" | 12 #include "printing/metafile.h" |
| 13 #include "skia/ext/platform_canvas.h" | 13 #include "skia/ext/platform_canvas.h" |
| 14 | 14 |
| 15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
| 16 #include <windows.h> | 16 #include <windows.h> |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 class SkBaseDevice; | |
| 20 | |
| 21 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) | 19 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) |
| 22 namespace base { | 20 namespace base { |
| 23 struct FileDescriptor; | 21 struct FileDescriptor; |
| 24 } | 22 } |
| 25 #endif | 23 #endif |
| 26 | 24 |
| 27 namespace printing { | 25 namespace printing { |
| 28 | 26 |
| 29 struct PdfMetafileSkiaData; | 27 struct PdfMetafileSkiaData; |
| 30 | 28 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 83 |
| 86 private: | 84 private: |
| 87 scoped_ptr<PdfMetafileSkiaData> data_; | 85 scoped_ptr<PdfMetafileSkiaData> data_; |
| 88 | 86 |
| 89 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); | 87 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); |
| 90 }; | 88 }; |
| 91 | 89 |
| 92 } // namespace printing | 90 } // namespace printing |
| 93 | 91 |
| 94 #endif // PRINTING_PDF_METAFILE_SKIA_H_ | 92 #endif // PRINTING_PDF_METAFILE_SKIA_H_ |
| OLD | NEW |