OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "media/video/capture/screen/screen_capturer_mock_objects.h" | |
6 | |
7 #include "media/video/capture/screen/screen_capturer.h" | |
8 #include "testing/gmock/include/gmock/gmock.h" | |
9 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | |
10 | |
11 namespace media { | |
12 | |
13 MockScreenCapturer::MockScreenCapturer() {} | |
14 MockScreenCapturer::~MockScreenCapturer() {} | |
15 | |
16 MockScreenCapturerCallback::MockScreenCapturerCallback() {} | |
17 MockScreenCapturerCallback::~MockScreenCapturerCallback() {} | |
18 | |
19 MockMouseShapeObserver::MockMouseShapeObserver() {} | |
20 MockMouseShapeObserver::~MockMouseShapeObserver() {} | |
21 | |
22 void MockMouseShapeObserver::OnCursorShapeChanged( | |
23 scoped_ptr<MouseCursorShape> cursor_shape) { | |
24 // Notify the mock method. | |
25 OnCursorShapeChangedPtr(cursor_shape.get()); | |
26 } | |
27 | |
28 } // namespace media | |
OLD | NEW |