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