| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_PS_METAFILE_LINUX_H_ | 5 #ifndef PRINTING_PDF_PS_METAFILE_CAIRO_H_ |
| 6 #define PRINTING_PDF_PS_METAFILE_LINUX_H_ | 6 #define PRINTING_PDF_PS_METAFILE_CAIRO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 | 11 |
| 12 typedef struct _cairo_surface cairo_surface_t; | 12 typedef struct _cairo_surface cairo_surface_t; |
| 13 typedef struct _cairo cairo_t; | 13 typedef struct _cairo cairo_t; |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class FileDescriptor; | 16 class FileDescriptor; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 std::string all_pages_; | 100 std::string all_pages_; |
| 101 | 101 |
| 102 // Buffer stores PDF/PS contents for current page only. | 102 // Buffer stores PDF/PS contents for current page only. |
| 103 std::string current_page_; | 103 std::string current_page_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(PdfPsMetafile); | 105 DISALLOW_COPY_AND_ASSIGN(PdfPsMetafile); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace printing | 108 } // namespace printing |
| 109 | 109 |
| 110 #endif // PRINTING_PDF_PS_METAFILE_LINUX_H_ | 110 #endif // PRINTING_PDF_PS_METAFILE_CAIRO_H_ |
| OLD | NEW |