OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 DMSrcSink_DEFINED | 8 #ifndef DMSrcSink_DEFINED |
9 #define DMSrcSink_DEFINED | 9 #define DMSrcSink_DEFINED |
10 | 10 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 explicit ViaSingletonPictures(Sink* sink) : Via(sink) {} | 350 explicit ViaSingletonPictures(Sink* sink) : Via(sink) {} |
351 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 351 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
352 }; | 352 }; |
353 | 353 |
354 class ViaTwice : public Via { | 354 class ViaTwice : public Via { |
355 public: | 355 public: |
356 explicit ViaTwice(Sink* sink) : Via(sink) {} | 356 explicit ViaTwice(Sink* sink) : Via(sink) {} |
357 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 357 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
358 }; | 358 }; |
359 | 359 |
| 360 class ViaMojo : public Via { |
| 361 public: |
| 362 explicit ViaMojo(Sink* sink) : Via(sink) {} |
| 363 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
| 364 }; |
| 365 |
360 } // namespace DM | 366 } // namespace DM |
361 | 367 |
362 #endif//DMSrcSink_DEFINED | 368 #endif//DMSrcSink_DEFINED |
OLD | NEW |