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

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

Issue 1969263004: sync compositor: Remove begin frame source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase onto https://codereview.chromium.org/1974133002/ Created 4 years, 6 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_REGISTRY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
7 7
8 8
9 namespace content { 9 namespace content {
10 10
11 class SynchronousCompositorExternalBeginFrameSource;
12 class SynchronousCompositorOutputSurface; 11 class SynchronousCompositorOutputSurface;
13 12
14 class SynchronousCompositorRegistry { 13 class SynchronousCompositorRegistry {
15 public: 14 public:
16 virtual void RegisterOutputSurface( 15 virtual void RegisterOutputSurface(
17 int routing_id, 16 int routing_id,
18 SynchronousCompositorOutputSurface* output_surface) = 0; 17 SynchronousCompositorOutputSurface* output_surface) = 0;
19 virtual void UnregisterOutputSurface( 18 virtual void UnregisterOutputSurface(
20 int routing_id, 19 int routing_id,
21 SynchronousCompositorOutputSurface* output_surface) = 0; 20 SynchronousCompositorOutputSurface* output_surface) = 0;
22 virtual void RegisterBeginFrameSource(
23 int routing_id,
24 SynchronousCompositorExternalBeginFrameSource* begin_frame_source) = 0;
25 virtual void UnregisterBeginFrameSource(
26 int routing_id,
27 SynchronousCompositorExternalBeginFrameSource* begin_frame_source) = 0;
28 21
29 protected: 22 protected:
30 virtual ~SynchronousCompositorRegistry() {} 23 virtual ~SynchronousCompositorRegistry() {}
31 }; 24 };
32 25
33 } // namespace content 26 } // namespace content
34 27
35 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_ 28 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
OLDNEW
« no previous file with comments | « content/renderer/android/synchronous_compositor_proxy.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698