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

Side by Side Diff: include/device/xps/SkXPSDevice.h

Issue 720213002: Rename onCreateDevice -> onCreateCompatibleDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | « include/core/SkDevice.h ('k') | include/pdf/SkPDFDevice.h » ('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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 SkMatrix* matrix, 312 SkMatrix* matrix,
313 SkVector* ppuScale, 313 SkVector* ppuScale,
314 const SkIRect& clip, SkIRect* clipIRect); 314 const SkIRect& clip, SkIRect* clipIRect);
315 315
316 HRESULT applyMask( 316 HRESULT applyMask(
317 const SkDraw& d, 317 const SkDraw& d,
318 const SkMask& mask, 318 const SkMask& mask,
319 const SkVector& ppuScale, 319 const SkVector& ppuScale,
320 IXpsOMPath* shadedPath); 320 IXpsOMPath* shadedPath);
321 321
322 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; 322 virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRID E;
323 323
324 // Disable the default copy and assign implementation. 324 // Disable the default copy and assign implementation.
325 SkXPSDevice(const SkXPSDevice&); 325 SkXPSDevice(const SkXPSDevice&);
326 void operator=(const SkXPSDevice&); 326 void operator=(const SkXPSDevice&);
327 327
328 typedef SkBitmapDevice INHERITED; 328 typedef SkBitmapDevice INHERITED;
329 }; 329 };
330 330
331 #endif 331 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | include/pdf/SkPDFDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698