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

Side by Side Diff: remoting/capturer/video_frame_capturer.h

Issue 11821004: Remove unused VideoFrameCapturer::size_most_recent() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CAPTURER_VIDEO_FRAME_CAPTURER_H_ 5 #ifndef REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
6 #define REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_ 6 #define REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void InvalidateRegion(const SkRegion& invalid_region) = 0; 100 virtual void InvalidateRegion(const SkRegion& invalid_region) = 0;
101 101
102 // Captures the screen data associated with each of the accumulated 102 // Captures the screen data associated with each of the accumulated
103 // dirty region. When the capture is complete, the delegate is notified even 103 // dirty region. When the capture is complete, the delegate is notified even
104 // if the dirty region is empty. 104 // if the dirty region is empty.
105 // 105 //
106 // It is OK to call this method while another thread is reading 106 // It is OK to call this method while another thread is reading
107 // data of the previous capture. There can be at most one concurrent read 107 // data of the previous capture. There can be at most one concurrent read
108 // going on when this method is called. 108 // going on when this method is called.
109 virtual void CaptureFrame() = 0; 109 virtual void CaptureFrame() = 0;
110
111 // Get the size of the most recently captured screen.
112 virtual const SkISize& size_most_recent() const = 0;
113 }; 110 };
114 111
115 } // namespace remoting 112 } // namespace remoting
116 113
117 #endif // REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_ 114 #endif // REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
OLDNEW
« no previous file with comments | « remoting/capturer/video_capturer_mock_objects.h ('k') | remoting/capturer/video_frame_capturer_fake.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698