OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EMF_WIN_H_ | 5 #ifndef PRINTING_EMF_WIN_H_ |
6 #define PRINTING_EMF_WIN_H_ | 6 #define PRINTING_EMF_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
| 9 |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
13 #include "printing/metafile.h" | 14 #include "printing/metafile.h" |
14 | 15 |
15 class FilePath; | 16 class FilePath; |
16 | 17 |
17 namespace gfx { | 18 namespace gfx { |
18 class Point; | |
19 class Rect; | 19 class Rect; |
20 class Size; | 20 class Size; |
21 } | 21 } |
22 | 22 |
23 namespace printing { | 23 namespace printing { |
24 | 24 |
25 // Simple wrapper class that manage an EMF data stream and its virtual HDC. | 25 // Simple wrapper class that manage an EMF data stream and its virtual HDC. |
26 class PRINTING_EXPORT Emf : public Metafile { | 26 class PRINTING_EXPORT Emf : public Metafile { |
27 public: | 27 public: |
28 class Record; | 28 class Record; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 std::vector<Record> items_; | 174 std::vector<Record> items_; |
175 | 175 |
176 EnumerationContext context_; | 176 EnumerationContext context_; |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(Enumerator); | 178 DISALLOW_COPY_AND_ASSIGN(Enumerator); |
179 }; | 179 }; |
180 | 180 |
181 } // namespace printing | 181 } // namespace printing |
182 | 182 |
183 #endif // PRINTING_EMF_WIN_H_ | 183 #endif // PRINTING_EMF_WIN_H_ |
OLD | NEW |