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

Side by Side Diff: blimp/client/feature/compositor/client_image_serialization_processor.h

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(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 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_H_
7
8 #include "base/macros.h"
9 #include "cc/proto/image_serialization_processor.h"
10 #include "third_party/skia/include/core/SkPicture.h"
11
12 class SkPixelSerializer;
13
14 namespace blimp {
15
16 // ClientImageSerializationProcessor provides functionality to deserialize Skia
17 // images.
18 class ClientImageSerializationProcessor
19 : public cc::ImageSerializationProcessor {
20 public:
21 ClientImageSerializationProcessor();
22 ~ClientImageSerializationProcessor();
23
24 // cc::ImageSerializationProcessor implementation.
25 SkPixelSerializer* GetPixelSerializer() override;
26 SkPicture::InstallPixelRefProc GetPixelDeserializer() override;
27
28 private:
29 SkPicture::InstallPixelRefProc pixel_deserializer_;
30
31 DISALLOW_COPY_AND_ASSIGN(ClientImageSerializationProcessor);
32 };
33
34 } // namespace blimp
35
36 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698