Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/xps/SkXPSDevice.h

Issue 2408133006: SkXPS: compile under clang on win (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkXPSDevice_DEFINED 8 #ifndef SkXPSDevice_DEFINED
9 #define SkXPSDevice_DEFINED 9 #define SkXPSDevice_DEFINED
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 public: 142 public:
143 SkFontID typefaceId; 143 SkFontID typefaceId;
144 int ttcIndex; 144 int ttcIndex;
145 SkStream* fontData; 145 SkStream* fontData;
146 IXpsOMFontResource* xpsFont; 146 IXpsOMFontResource* xpsFont;
147 SkBitSet* glyphsUsed; 147 SkBitSet* glyphsUsed;
148 148
149 explicit TypefaceUse(); 149 explicit TypefaceUse();
150 ~TypefaceUse(); 150 ~TypefaceUse();
151 }; 151 };
152 friend static HRESULT subset_typeface(TypefaceUse* current); 152 friend HRESULT subset_typeface(TypefaceUse* current);
153 153
154 SkXPSDevice(IXpsOMObjectFactory* xpsFactory); 154 SkXPSDevice(IXpsOMObjectFactory* xpsFactory);
155 155
156 SkAutoCoInitialize fAutoCo; 156 SkAutoCoInitialize fAutoCo;
157 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory; 157 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
158 SkTScopedComPtr<IStream> fOutputStream; 158 SkTScopedComPtr<IStream> fOutputStream;
159 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter; 159 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter;
160 160
161 unsigned int fCurrentPage; 161 unsigned int fCurrentPage;
162 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas; 162 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 315
316 // Disable the default copy and assign implementation. 316 // Disable the default copy and assign implementation.
317 SkXPSDevice(const SkXPSDevice&); 317 SkXPSDevice(const SkXPSDevice&);
318 void operator=(const SkXPSDevice&); 318 void operator=(const SkXPSDevice&);
319 319
320 typedef SkBitmapDevice INHERITED; 320 typedef SkBitmapDevice INHERITED;
321 }; 321 };
322 322
323 #endif // SK_BUILD_FOR_WIN 323 #endif // SK_BUILD_FOR_WIN
324 #endif // SkXPSDevice_DEFINED 324 #endif // SkXPSDevice_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698