summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_fake_ascii.h
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 15:02:53 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 15:02:53 +0000
commit804c99625cc375da683a6c1a681178b0014e02fe (patch)
tree444c6deffd05f7744f0d2b50077aeabde0cc7170 /remoting/host/capturer_fake_ascii.h
parent9da1cedf45ee5bb54cc5558ca044dc24b999b8d9 (diff)
downloadchromium_src-804c99625cc375da683a6c1a681178b0014e02fe.zip
chromium_src-804c99625cc375da683a6c1a681178b0014e02fe.tar.gz
chromium_src-804c99625cc375da683a6c1a681178b0014e02fe.tar.bz2
Revamp capturer to clean up the interface, and to keep data as atomic as possible when making calls across threads.
TEST=build remoting BUG=none Review URL: http://codereview.chromium.org/2805025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/capturer_fake_ascii.h')
-rw-r--r--remoting/host/capturer_fake_ascii.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/remoting/host/capturer_fake_ascii.h b/remoting/host/capturer_fake_ascii.h
index ceb406b..5457c41 100644
--- a/remoting/host/capturer_fake_ascii.h
+++ b/remoting/host/capturer_fake_ascii.h
@@ -20,11 +20,9 @@ class CapturerFakeAscii : public Capturer {
CapturerFakeAscii();
virtual ~CapturerFakeAscii();
- virtual void CaptureFullScreen(Task* done_task);
- virtual void CaptureDirtyRects(Task* done_task);
- virtual void CaptureRect(const gfx::Rect& rect, Task* done_task);
- virtual void GetData(const uint8* planes[]) const;
- virtual void GetDataStride(int strides[]) const;
+ virtual void CaptureRects(const RectVector& rects,
+ CaptureCompletedCallback* callback);
+ virtual void ScreenConfigurationChanged();
private:
// Generates an image in the front buffer.