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

Side by Side Diff: blimp/engine/renderer/blimp_content_renderer_client.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 (c) 2015 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_ENGINE_RENDERER_BLIMP_CONTENT_RENDERER_CLIENT_H_
6 #define BLIMP_ENGINE_RENDERER_BLIMP_CONTENT_RENDERER_CLIENT_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "content/public/renderer/content_renderer_client.h"
12
13 namespace web_cache {
14 class WebCacheImpl;
15 }
16
17 namespace blimp {
18 namespace engine {
19
20 class BlimpContentRendererClient : public content::ContentRendererClient {
21 public:
22 BlimpContentRendererClient();
23 ~BlimpContentRendererClient() override;
24
25 // content::ContentRendererClient implementation.
26 void RenderThreadStarted() override;
27 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override;
28 std::unique_ptr<cc::RemoteCompositorBridge> CreateRemoteCompositorBridge(
29 content::RemoteProtoChannel* remote_proto_channel,
30 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner)
31 override;
32
33 private:
34 // Manages the process-global web cache.
35 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_;
36
37 // Provides the functionality to serialize images in SkPicture.
38 std::unique_ptr<cc::ImageSerializationProcessor>
39 image_serialization_processor_;
40
41 DISALLOW_COPY_AND_ASSIGN(BlimpContentRendererClient);
42 };
43
44 } // namespace engine
45 } // namespace blimp
46
47 #endif // BLIMP_ENGINE_RENDERER_BLIMP_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « blimp/engine/mojo/font_fetcher_mojo_impl_unittest.cc ('k') | blimp/engine/renderer/blimp_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698