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

Unified Diff: media/video/capture/screen/mac/desktop_configuration.h

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 side-by-side diff with in-line comments
Download patch
Index: media/video/capture/screen/mac/desktop_configuration.h
diff --git a/media/video/capture/screen/mac/desktop_configuration.h b/media/video/capture/screen/mac/desktop_configuration.h
index 3d03f39a4e5c0c913f6c0fd9d754db055f1569f1..dfa563f4dc3bed33f98735fbc31c719a55b67714 100644
--- a/media/video/capture/screen/mac/desktop_configuration.h
+++ b/media/video/capture/screen/mac/desktop_configuration.h
@@ -11,8 +11,7 @@
#include "base/basictypes.h"
#include "media/base/media_export.h"
-#include "third_party/skia/include/core/SkPoint.h"
-#include "third_party/skia/include/core/SkRect.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace media {
@@ -24,10 +23,10 @@ struct MEDIA_EXPORT MacDisplayConfiguration {
CGDirectDisplayID id;
// Bounds of this display in Density-Independent Pixels (DIPs).
- SkIRect bounds;
+ webrtc::DesktopRect bounds;
// Bounds of this display in physical pixels.
- SkIRect pixel_bounds;
+ webrtc::DesktopRect pixel_bounds;
// Scale factor from DIPs to physical pixels.
float dip_to_pixel_scale;
@@ -49,10 +48,10 @@ struct MEDIA_EXPORT MacDesktopConfiguration {
MEDIA_EXPORT static MacDesktopConfiguration GetCurrent(Origin origin);
// Bounds of the desktop in Density-Independent Pixels (DIPs).
- SkIRect bounds;
+ webrtc::DesktopRect bounds;
// Bounds of the desktop in physical pixels.
- SkIRect pixel_bounds;
+ webrtc::DesktopRect pixel_bounds;
// Scale factor from DIPs to physical pixels.
float dip_to_pixel_scale;
« no previous file with comments | « media/video/capture/screen/differ_unittest.cc ('k') | media/video/capture/screen/mac/desktop_configuration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698