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_CG_MAC_H_ | 5 #ifndef PRINTING_PDF_METAFILE_CG_MAC_H_ |
6 #define PRINTING_PDF_METAFILE_CG_MAC_H_ | 6 #define PRINTING_PDF_METAFILE_CG_MAC_H_ |
7 | 7 |
8 #include <ApplicationServices/ApplicationServices.h> | 8 #include <ApplicationServices/ApplicationServices.h> |
9 #include <CoreFoundation/CoreFoundation.h> | 9 #include <CoreFoundation/CoreFoundation.h> |
| 10 #include <stdint.h> |
10 | 11 |
11 #include "base/basictypes.h" | |
12 #include "base/mac/scoped_cftyperef.h" | 12 #include "base/mac/scoped_cftyperef.h" |
| 13 #include "base/macros.h" |
13 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
14 #include "printing/metafile.h" | 15 #include "printing/metafile.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class FilePath; | 18 class FilePath; |
18 } | 19 } |
19 | 20 |
20 namespace gfx { | 21 namespace gfx { |
21 class Rect; | 22 class Rect; |
22 class Size; | 23 class Size; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 77 |
77 // Whether this instantiation of the PdfMetafileCg owns the thread_pdf_docs. | 78 // Whether this instantiation of the PdfMetafileCg owns the thread_pdf_docs. |
78 bool thread_pdf_docs_owned_; | 79 bool thread_pdf_docs_owned_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(PdfMetafileCg); | 81 DISALLOW_COPY_AND_ASSIGN(PdfMetafileCg); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace printing | 84 } // namespace printing |
84 | 85 |
85 #endif // PRINTING_PDF_METAFILE_CG_MAC_H_ | 86 #endif // PRINTING_PDF_METAFILE_CG_MAC_H_ |
OLD | NEW |