summaryrefslogtreecommitdiffstats
path: root/remoting/host/mock_objects.h
diff options
context:
space:
mode:
authorgarykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 22:50:00 +0000
committergarykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 22:50:00 +0000
commit88552a9c89b99b93211ac5e679a0c13420e294db (patch)
treebe326ad62f7c9c9b3dfdea155a306005af00356a /remoting/host/mock_objects.h
parentce3b22e8da4fa9ca838423bacd54e45c3030d518 (diff)
downloadchromium_src-88552a9c89b99b93211ac5e679a0c13420e294db.zip
chromium_src-88552a9c89b99b93211ac5e679a0c13420e294db.tar.gz
chromium_src-88552a9c89b99b93211ac5e679a0c13420e294db.tar.bz2
Initial pass at integrating Differ into the chromoting host code.
BUG=none TEST=run Win host; x11 client Review URL: http://codereview.chromium.org/3013015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/mock_objects.h')
-rw-r--r--remoting/host/mock_objects.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/remoting/host/mock_objects.h b/remoting/host/mock_objects.h
index f58ac3b..f7d142c 100644
--- a/remoting/host/mock_objects.h
+++ b/remoting/host/mock_objects.h
@@ -18,12 +18,13 @@ class MockCapturer : public Capturer {
public:
MockCapturer() {}
+ MOCK_METHOD0(ScreenConfigurationChanged, void());
+ MOCK_METHOD1(InvalidateRects, void(const InvalidRects& inval_rects));
+ MOCK_METHOD0(InvalidateFullScreen, void());
+ MOCK_METHOD0(CalculateInvalidRects, void());
MOCK_METHOD1(CaptureInvalidRects, void(CaptureCompletedCallback* callback));
- MOCK_METHOD2(CaptureRects, void(const RectVector& rects,
+ MOCK_METHOD2(CaptureRects, void(const InvalidRects& rects,
CaptureCompletedCallback* callback));
- MOCK_METHOD1(InvalidateRects, void(const RectVector& inval_rects));
- MOCK_METHOD0(InvalidateFullScreen, void());
- MOCK_METHOD0(ScreenConfigurationChanged, void());
MOCK_CONST_METHOD0(width, int());
MOCK_CONST_METHOD0(height, int());