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_METAFILE_H_ | 5 #ifndef PRINTING_METAFILE_H_ |
6 #define PRINTING_METAFILE_H_ | 6 #define PRINTING_METAFILE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | 12 #include "base/macros.h" |
11 #include "build/build_config.h" | 13 #include "build/build_config.h" |
12 #include "printing/printing_export.h" | 14 #include "printing/printing_export.h" |
13 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
14 | 16 |
15 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
16 #include <windows.h> | 18 #include <windows.h> |
17 #elif defined(OS_MACOSX) | 19 #elif defined(OS_MACOSX) |
18 #include <ApplicationServices/ApplicationServices.h> | 20 #include <ApplicationServices/ApplicationServices.h> |
19 #include <CoreFoundation/CoreFoundation.h> | 21 #include <CoreFoundation/CoreFoundation.h> |
20 #include "base/mac/scoped_cftyperef.h" | 22 #include "base/mac/scoped_cftyperef.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 159 |
158 bool SaveTo(base::File* file) const override; | 160 bool SaveTo(base::File* file) const override; |
159 | 161 |
160 private: | 162 private: |
161 DISALLOW_COPY_AND_ASSIGN(Metafile); | 163 DISALLOW_COPY_AND_ASSIGN(Metafile); |
162 }; | 164 }; |
163 | 165 |
164 } // namespace printing | 166 } // namespace printing |
165 | 167 |
166 #endif // PRINTING_METAFILE_H_ | 168 #endif // PRINTING_METAFILE_H_ |
OLD | NEW |