diff options
author | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 19:28:31 +0000 |
---|---|---|
committer | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 19:28:31 +0000 |
commit | 18d96d011b20bace614812b59989b048089d92d6 (patch) | |
tree | 3e02d87cdb5a47336d1cfd739d29811a91077319 /remoting/protocol | |
parent | e935560ddeadae5b4f030f473d67091c1f990966 (diff) | |
download | chromium_src-18d96d011b20bace614812b59989b048089d92d6.zip chromium_src-18d96d011b20bace614812b59989b048089d92d6.tar.gz chromium_src-18d96d011b20bace614812b59989b048089d92d6.tar.bz2 |
[Chromoting] Add cross-platform unit tests for the capturers.
Review URL: https://chromiumcodereview.appspot.com/10695073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol')
-rw-r--r-- | remoting/protocol/protocol_mock_objects.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h index d08dd69..2fc66be 100644 --- a/remoting/protocol/protocol_mock_objects.h +++ b/remoting/protocol/protocol_mock_objects.h @@ -75,6 +75,18 @@ class MockClipboardStub : public ClipboardStub { DISALLOW_COPY_AND_ASSIGN(MockClipboardStub); }; +class MockCursorShapeChangeCallback { + public: + MockCursorShapeChangeCallback(); + virtual ~MockCursorShapeChangeCallback(); + + MOCK_METHOD1(CursorShapeChangedPtr, void(CursorShapeInfo* info)); + void CursorShapeChanged(scoped_ptr<CursorShapeInfo> info); + + private: + DISALLOW_COPY_AND_ASSIGN(MockCursorShapeChangeCallback); +}; + class MockInputStub : public InputStub { public: MockInputStub(); |