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

Side by Side Diff: blimp/engine/renderer/engine_image_serialization_processor.cc

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, moved to blimp::client namespace, renamed webp_decoder.[cc|h] according to func… 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
« no previous file with comments | « blimp/engine/renderer/blimp_content_renderer_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "blimp/engine/renderer/engine_image_serialization_processor.h" 5 #include "blimp/engine/renderer/engine_image_serialization_processor.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
16 #include "blimp/common/blob_cache/id_util.h" 16 #include "blimp/common/blob_cache/id_util.h"
17 #include "blimp/common/compositor/webp_decoder.h"
18 #include "blimp/common/proto/blob_cache.pb.h" 17 #include "blimp/common/proto/blob_cache.pb.h"
19 #include "content/public/renderer/render_frame.h" 18 #include "content/public/renderer/render_frame.h"
20 #include "third_party/libwebp/webp/encode.h" 19 #include "third_party/libwebp/webp/encode.h"
21 #include "third_party/skia/include/core/SkData.h" 20 #include "third_party/skia/include/core/SkData.h"
22 #include "third_party/skia/include/core/SkPicture.h" 21 #include "third_party/skia/include/core/SkPicture.h"
23 #include "third_party/skia/include/core/SkPixelSerializer.h" 22 #include "third_party/skia/include/core/SkPixelSerializer.h"
24 #include "third_party/skia/include/core/SkUnPreMultiply.h" 23 #include "third_party/skia/include/core/SkUnPreMultiply.h"
25 24
26 namespace blimp { 25 namespace blimp {
27 namespace { 26 namespace {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 return pixel_serializer_.get(); 226 return pixel_serializer_.get();
228 } 227 }
229 228
230 SkPicture::InstallPixelRefProc 229 SkPicture::InstallPixelRefProc
231 EngineImageSerializationProcessor::GetPixelDeserializer() { 230 EngineImageSerializationProcessor::GetPixelDeserializer() {
232 return nullptr; 231 return nullptr;
233 } 232 }
234 233
235 } // namespace engine 234 } // namespace engine
236 } // namespace blimp 235 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/renderer/blimp_content_renderer_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698