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

Unified Diff: remoting/capturer/mac/desktop_configuration.h

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « remoting/capturer/linux/x_server_pixel_buffer.cc ('k') | remoting/capturer/mac/desktop_configuration.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/capturer/mac/desktop_configuration.h
diff --git a/remoting/capturer/mac/desktop_configuration.h b/remoting/capturer/mac/desktop_configuration.h
deleted file mode 100644
index 7157d7576cef0b1cc13ae41f25e4c3b5d1678a5f..0000000000000000000000000000000000000000
--- a/remoting/capturer/mac/desktop_configuration.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CAPTURER_MAC_DESKTOP_CONFIGURATION_H_
-#define REMOTING_CAPTURER_MAC_DESKTOP_CONFIGURATION_H_
-
-#include <ApplicationServices/ApplicationServices.h>
-#include <Carbon/Carbon.h>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "third_party/skia/include/core/SkPoint.h"
-#include "third_party/skia/include/core/SkRect.h"
-
-namespace remoting {
-
-// Describes the configuration of a specific display.
-struct MacDisplayConfiguration {
- MacDisplayConfiguration();
-
- // Returns the current configuration of the specified display.
- static MacDisplayConfiguration ForDisplay(CGDirectDisplayID display_id);
-
- // Cocoa identifier for this display.
- CGDirectDisplayID id;
-
- // Bounds of this display in Density-Independent Pixels (DIPs).
- SkIRect bounds;
-
- // Bounds of this display in physical pixels.
- SkIRect pixel_bounds;
-
- // Scale factor from DIPs to physical pixels.
- float dip_to_pixel_scale;
-};
-
-typedef std::vector<MacDisplayConfiguration> MacDisplayConfigurations;
-
-// Describes the configuration of the whole desktop.
-struct MacDesktopConfiguration {
- MacDesktopConfiguration();
- ~MacDesktopConfiguration();
-
- // Returns the current configuration of the desktop.
- static MacDesktopConfiguration GetCurrent();
-
- // Bounds of the desktop in Density-Independent Pixels (DIPs).
- SkIRect bounds;
-
- // Bounds of the desktop in physical pixels.
- SkIRect pixel_bounds;
-
- // Scale factor from DIPs to physical pixels.
- float dip_to_pixel_scale;
-
- // Configurations of the displays making up the desktop area.
- MacDisplayConfigurations displays;
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CAPTURER_MAC_DESKTOP_CONFIGURATION_H_
« no previous file with comments | « remoting/capturer/linux/x_server_pixel_buffer.cc ('k') | remoting/capturer/mac/desktop_configuration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698