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

Side by Side Diff: content/renderer/android/synchronous_compositor_factory.h

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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 | « content/content_renderer.gypi ('k') | content/renderer/media/android/stream_texture_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "gpu/config/gpu_info.h" 11 #include "gpu/config/gpu_info.h"
12 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 12 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
13 13
14 namespace base { 14 namespace base {
15 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
16 } 16 }
17 17
18 namespace cc { 18 namespace cc {
19 class BeginFrameSource; 19 class BeginFrameSource;
20 class ContextProvider; 20 class ContextProvider;
21 class OutputSurface; 21 class OutputSurface;
22 } 22 }
23 23
24 namespace cc_blink {
25 class ContextProviderWebContext;
26 }
27
28 namespace gpu_blink {
29 class WebGraphicsContext3DInProcessCommandBufferImpl;
30 }
31
32 namespace content { 24 namespace content {
33 25
34 class InputHandlerManagerClient; 26 class InputHandlerManagerClient;
35 class SynchronousInputHandlerProxyClient; 27 class SynchronousInputHandlerProxyClient;
36 class StreamTextureFactory;
37 class FrameSwapMessageQueue; 28 class FrameSwapMessageQueue;
38 29
39 // Decouples creation from usage of the parts needed for the synchonous 30 // Decouples creation from usage of the parts needed for the synchonous
40 // compositor rendering path. In practice this is only used in single 31 // compositor rendering path. In practice this is only used in single
41 // process mode (namely, for Android WebView) hence the implementation of 32 // process mode (namely, for Android WebView) hence the implementation of
42 // this will be injected from the logical 'browser' side code. 33 // this will be injected from the logical 'browser' side code.
43 class SynchronousCompositorFactory { 34 class SynchronousCompositorFactory {
44 public: 35 public:
45 // Must only be called once, e.g. on startup. Ownership of |instance| remains 36 // Must only be called once, e.g. on startup. Ownership of |instance| remains
46 // with the caller. 37 // with the caller.
(...skipping 18 matching lines...) Expand all
65 int routing_id) = 0; 56 int routing_id) = 0;
66 57
67 protected: 58 protected:
68 SynchronousCompositorFactory() {} 59 SynchronousCompositorFactory() {}
69 virtual ~SynchronousCompositorFactory() {} 60 virtual ~SynchronousCompositorFactory() {}
70 }; 61 };
71 62
72 } // namespace content 63 } // namespace content
73 64
74 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 65 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/android/stream_texture_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698