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

Side by Side Diff: media/video/capture/screen/screen_capturer_mock_objects.cc

Issue 13983010: Use webrtc::DesktopCapturer for screen capturer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 #include "media/video/capture/screen/screen_capturer_mock_objects.h" 5 #include "media/video/capture/screen/screen_capturer_mock_objects.h"
6 6
7 #include "media/video/capture/screen/screen_capturer.h" 7 #include "media/video/capture/screen/screen_capturer.h"
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
9 10
10 namespace media { 11 namespace media {
11 12
12 MockScreenCapturer::MockScreenCapturer() { 13 MockScreenCapturer::MockScreenCapturer() {}
13 } 14 MockScreenCapturer::~MockScreenCapturer() {}
14 15
15 MockScreenCapturer::~MockScreenCapturer() { 16 MockScreenCapturerCallback::MockScreenCapturerCallback() {}
16 } 17 MockScreenCapturerCallback::~MockScreenCapturerCallback() {}
17 18
18 MockScreenCapturerDelegate::MockScreenCapturerDelegate() { 19 MockMouseShapeObserver::MockMouseShapeObserver() {}
19 } 20 MockMouseShapeObserver::~MockMouseShapeObserver() {}
20 21
21 MockScreenCapturerDelegate::~MockScreenCapturerDelegate() { 22 void MockMouseShapeObserver::OnCursorShapeChanged(
22 }
23
24 void MockScreenCapturerDelegate::OnCursorShapeChanged(
25 scoped_ptr<MouseCursorShape> cursor_shape) { 23 scoped_ptr<MouseCursorShape> cursor_shape) {
26 // Notify the mock method. 24 // Notify the mock method.
27 OnCursorShapeChangedPtr(cursor_shape.get()); 25 OnCursorShapeChangedPtr(cursor_shape.get());
28 } 26 }
29 27
30 } // namespace media 28 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698