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

Side by Side Diff: remoting/client/frame_consumer.h

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « remoting/client/chromoting_view.h ('k') | remoting/client/plugin/chromoting_instance.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 REMOTING_CLIENT_FRAME_CONSUMER_H_ 5 #ifndef REMOTING_CLIENT_FRAME_CONSUMER_H_
6 #define REMOTING_CLIENT_FRAME_CONSUMER_H_ 6 #define REMOTING_CLIENT_FRAME_CONSUMER_H_
7 7
8 #include "remoting/base/decoder.h" // For UpdatedRects 8 #include "remoting/base/decoder.h" // For UpdatedRects
9 9
10 class Task; 10 class Task;
11 11
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 virtual void ReleaseFrame(media::VideoFrame* frame) = 0; 45 virtual void ReleaseFrame(media::VideoFrame* frame) = 0;
46 46
47 // OnPartialFrameOutput() is called every time at least one rectangle of 47 // OnPartialFrameOutput() is called every time at least one rectangle of
48 // output is produced. The |frame| is guaranteed to have valid data for every 48 // output is produced. The |frame| is guaranteed to have valid data for every
49 // region included in the |rects| list. 49 // region included in the |rects| list.
50 // 50 //
51 // Both |frame| and |rects| are guaranteed to be valid until the |done| 51 // Both |frame| and |rects| are guaranteed to be valid until the |done|
52 // callback is invoked. 52 // callback is invoked.
53 virtual void OnPartialFrameOutput(media::VideoFrame* frame, 53 virtual void OnPartialFrameOutput(media::VideoFrame* frame,
54 UpdatedRects* rects, 54 RectVector* rects,
55 Task* done) = 0; 55 Task* done) = 0;
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(FrameConsumer); 58 DISALLOW_COPY_AND_ASSIGN(FrameConsumer);
59 }; 59 };
60 60
61 } // namespace remoting 61 } // namespace remoting
62 62
63 #endif // REMOTING_CLIENT_FRAME_CONSUMER_H_ 63 #endif // REMOTING_CLIENT_FRAME_CONSUMER_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_view.h ('k') | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698