| 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 } |
| 14 | 15 |
| 15 MockScreenCapturer::~MockScreenCapturer() { | 16 MockScreenCapturer::~MockScreenCapturer() { |
| 16 } | 17 } |
| 17 | 18 |
| 18 MockScreenCapturerDelegate::MockScreenCapturerDelegate() { | 19 MockScreenCapturerCallback::MockScreenCapturerCallback() { |
| 19 } | 20 } |
| 20 | 21 |
| 21 MockScreenCapturerDelegate::~MockScreenCapturerDelegate() { | 22 MockScreenCapturerCallback::~MockScreenCapturerCallback() { |
| 22 } | |
| 23 | |
| 24 void MockScreenCapturerDelegate::OnCursorShapeChanged( | |
| 25 scoped_ptr<MouseCursorShape> cursor_shape) { | |
| 26 // Notify the mock method. | |
| 27 OnCursorShapeChangedPtr(cursor_shape.get()); | |
| 28 } | 23 } |
| 29 | 24 |
| 30 } // namespace media | 25 } // namespace media |
| OLD | NEW |