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

Unified Diff: remoting/capturer/video_capturer_mock_objects.cc

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/capturer/video_capturer_mock_objects.h ('k') | remoting/capturer/video_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/capturer/video_capturer_mock_objects.cc
diff --git a/remoting/capturer/video_capturer_mock_objects.cc b/remoting/capturer/video_capturer_mock_objects.cc
new file mode 100644
index 0000000000000000000000000000000000000000..22a79f62542bf64d354fa59329f633f8d86461c9
--- /dev/null
+++ b/remoting/capturer/video_capturer_mock_objects.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "remoting/capturer/video_capturer_mock_objects.h"
+
+#include "remoting/capturer/video_frame_capturer.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+namespace remoting {
+
+MockVideoFrameCapturer::MockVideoFrameCapturer() {}
+
+MockVideoFrameCapturer::~MockVideoFrameCapturer() {}
+
+MockVideoFrameCapturerDelegate::MockVideoFrameCapturerDelegate() {
+}
+
+MockVideoFrameCapturerDelegate::~MockVideoFrameCapturerDelegate() {
+}
+
+void MockVideoFrameCapturerDelegate::OnCursorShapeChanged(
+ scoped_ptr<MouseCursorShape> cursor_shape) {
+ // Notify the mock method.
+ OnCursorShapeChangedPtr(cursor_shape.get());
+}
+
+} // namespace remoting
« no previous file with comments | « remoting/capturer/video_capturer_mock_objects.h ('k') | remoting/capturer/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698