OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "blimp/client/feature/compositor/client_image_serialization_processor.h
" | |
6 | |
7 #include "blimp/client/feature/compositor/blimp_image_decoder.h" | |
8 #include "third_party/skia/include/core/SkPicture.h" | |
9 | |
10 class SkPixelSerializer; | |
11 | |
12 namespace blimp { | |
13 namespace client { | |
14 | |
15 ClientImageSerializationProcessor::ClientImageSerializationProcessor() { | |
16 pixel_deserializer_ = &BlimpImageDecoder; | |
17 } | |
18 | |
19 ClientImageSerializationProcessor::~ClientImageSerializationProcessor() {} | |
20 | |
21 SkPixelSerializer* ClientImageSerializationProcessor::GetPixelSerializer() { | |
22 return nullptr; | |
23 } | |
24 | |
25 SkPicture::InstallPixelRefProc | |
26 ClientImageSerializationProcessor::GetPixelDeserializer() { | |
27 return pixel_deserializer_; | |
28 } | |
29 | |
30 } // namespace client | |
31 } // namespace blimp | |
OLD | NEW |