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

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

Issue 12092031: Add MEDIA_EXPORT for MacDesktopConfiguration::GetCurrent() to fix build break after r179218. (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 998f9181b0309e5fa0d1626de984cfae5aca6213..c3c65b39be54a5d7daf613ad0a8f738e7275beb4 100644
--- a/media/video/capture/screen/mac/desktop_configuration.h
+++ b/media/video/capture/screen/mac/desktop_configuration.h
@@ -10,17 +10,19 @@
#include <vector>
#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"
namespace media {
// Describes the configuration of a specific display.
-struct MacDisplayConfiguration {
+struct MEDIA_EXPORT MacDisplayConfiguration {
MacDisplayConfiguration();
// Returns the current configuration of the specified display.
- static MacDisplayConfiguration ForDisplay(CGDirectDisplayID display_id);
+ MEDIA_EXPORT static MacDisplayConfiguration ForDisplay(
+ CGDirectDisplayID display_id);
// Cocoa identifier for this display.
CGDirectDisplayID id;
@@ -38,12 +40,12 @@ struct MacDisplayConfiguration {
typedef std::vector<MacDisplayConfiguration> MacDisplayConfigurations;
// Describes the configuration of the whole desktop.
-struct MacDesktopConfiguration {
+struct MEDIA_EXPORT MacDesktopConfiguration {
MacDesktopConfiguration();
~MacDesktopConfiguration();
// Returns the current configuration of the desktop.
- static MacDesktopConfiguration GetCurrent();
+ MEDIA_EXPORT static MacDesktopConfiguration GetCurrent();
// Bounds of the desktop in Density-Independent Pixels (DIPs).
SkIRect bounds;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698