OLD | NEW |
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 |
OLD | NEW |