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

Side by Side Diff: webrtc/modules/desktop_capture/mouse_cursor_monitor_win.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/desktop_capture/mouse_cursor_monitor.h" 11 #include "webrtc/modules/desktop_capture/mouse_cursor_monitor.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <memory> 16 #include <memory>
17 17
18 #include "webrtc/base/logging.h"
18 #include "webrtc/modules/desktop_capture/desktop_frame.h" 19 #include "webrtc/modules/desktop_capture/desktop_frame.h"
19 #include "webrtc/modules/desktop_capture/desktop_geometry.h" 20 #include "webrtc/modules/desktop_capture/desktop_geometry.h"
20 #include "webrtc/modules/desktop_capture/mouse_cursor.h" 21 #include "webrtc/modules/desktop_capture/mouse_cursor.h"
21 #include "webrtc/modules/desktop_capture/win/cursor.h" 22 #include "webrtc/modules/desktop_capture/win/cursor.h"
22 #include "webrtc/modules/desktop_capture/win/window_capture_utils.h" 23 #include "webrtc/modules/desktop_capture/win/window_capture_utils.h"
23 #include "webrtc/rtc_base/logging.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 namespace { 27 namespace {
28 28
29 bool IsSameCursorShape(const CURSORINFO& left, const CURSORINFO& right) { 29 bool IsSameCursorShape(const CURSORINFO& left, const CURSORINFO& right) {
30 // If the cursors are not showing, we do not care the hCursor handle. 30 // If the cursors are not showing, we do not care the hCursor handle.
31 return left.flags == right.flags && 31 return left.flags == right.flags &&
32 (left.flags != CURSOR_SHOWING || 32 (left.flags != CURSOR_SHOWING ||
33 left.hCursor == right.hCursor); 33 left.hCursor == right.hCursor);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 return new MouseCursorMonitorWin(reinterpret_cast<HWND>(window)); 198 return new MouseCursorMonitorWin(reinterpret_cast<HWND>(window));
199 } 199 }
200 200
201 MouseCursorMonitor* MouseCursorMonitor::CreateForScreen( 201 MouseCursorMonitor* MouseCursorMonitor::CreateForScreen(
202 const DesktopCaptureOptions& options, 202 const DesktopCaptureOptions& options,
203 ScreenId screen) { 203 ScreenId screen) {
204 return new MouseCursorMonitorWin(screen); 204 return new MouseCursorMonitorWin(screen);
205 } 205 }
206 206
207 } // namespace webrtc 207 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/mouse_cursor.h ('k') | webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698