summaryrefslogtreecommitdiffstats
path: root/media/video/capture/screen
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 01:07:51 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 01:07:51 +0000
commitf4473de40413416e09131f83a2fec11efc494659 (patch)
tree74a04b127ffff417521b8c75745f339c1ae48eae /media/video/capture/screen
parentc5a726b3541cdb5ab7e4f90da45c9bbbd3f6b4d3 (diff)
downloadchromium_src-f4473de40413416e09131f83a2fec11efc494659.zip
chromium_src-f4473de40413416e09131f83a2fec11efc494659.tar.gz
chromium_src-f4473de40413416e09131f83a2fec11efc494659.tar.bz2
Add MEDIA_EXPORT for MacDesktopConfiguration::GetCurrent() to fix build break after r179218.
Review URL: https://codereview.chromium.org/12092031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video/capture/screen')
-rw-r--r--media/video/capture/screen/mac/desktop_configuration.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/media/video/capture/screen/mac/desktop_configuration.h b/media/video/capture/screen/mac/desktop_configuration.h
index 998f918..c3c65b3 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;