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

Side by Side Diff: media/blink/video_frame_compositor.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 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
« no previous file with comments | « media/base/video_util.h ('k') | media/cast/receiver/video_decoder.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_ 5 #ifndef MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_
6 #define MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_ 6 #define MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/layers/video_frame_provider.h" 10 #include "cc/layers/video_frame_provider.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 namespace media { 14 namespace media {
15 class VideoFrame; 15 class VideoFrame;
16 16
17 // VideoFrameCompositor handles incoming frames by notifying the compositor and 17 // VideoFrameCompositor handles incoming frames by notifying the compositor and
18 // dispatching callbacks when detecting changes in video frames. 18 // dispatching callbacks when detecting changes in video frames.
19 // 19 //
20 // Typical usage is to deliver ready-to-be-displayed video frames to 20 // Typical usage is to deliver ready-to-be-displayed video frames to
21 // UpdateCurrentFrame() so that VideoFrameCompositor can take care of tracking 21 // UpdateCurrentFrame() so that VideoFrameCompositor can take care of tracking
22 // changes in video frames and firing callbacks as needed. 22 // changes in video frames and firing callbacks as needed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 cc::VideoFrameProvider::Client* client_; 58 cc::VideoFrameProvider::Client* client_;
59 59
60 scoped_refptr<VideoFrame> current_frame_; 60 scoped_refptr<VideoFrame> current_frame_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(VideoFrameCompositor); 62 DISALLOW_COPY_AND_ASSIGN(VideoFrameCompositor);
63 }; 63 };
64 64
65 } // namespace media 65 } // namespace media
66 66
67 #endif // MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_ 67 #endif // MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « media/base/video_util.h ('k') | media/cast/receiver/video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698