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

Side by Side Diff: cc/scheduler/video_frame_controller.h

Issue 1039533002: cc: Add support for sending BeginFrames for video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@misc_video_refactoring
Patch Set: Remove visibility updates. Created 5 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_SCHEDULER_VIDEO_FRAME_CONTROLLER_H_
6 #define CC_SCHEDULER_VIDEO_FRAME_CONTROLLER_H_
7
8 #include "cc/base/cc_export.h"
9 #include "cc/output/begin_frame_args.h"
10
11 namespace cc {
12
13 class VideoFrameController;
14
15 class CC_EXPORT VideoFrameControllerClient {
16 public:
17 virtual void AddVideoFrameController(VideoFrameController* controller) = 0;
18 virtual void RemoveVideoFrameController(VideoFrameController* controller) = 0;
19
20 protected:
21 virtual ~VideoFrameControllerClient() {}
22 };
23
24 class CC_EXPORT VideoFrameController {
brianderson 2015/04/16 01:42:23 Can you add a comment indicating that we should co
sunnyps 2015/04/16 20:56:11 Done.
25 public:
26 virtual void OnBeginFrame(const BeginFrameArgs& args) = 0;
27
28 protected:
29 virtual ~VideoFrameController() {}
30 };
31
32 } // namespace cc
33
34 #endif // CC_SCHEDULER_VIDEO_FRAME_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698