diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 05:34:37 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 05:34:37 +0000 |
commit | c79991f43c51b0390a58fdd712a0146c767d221f (patch) | |
tree | ea2f124502df7a3cf15f6ea398555102d02590a0 /content | |
parent | d6ef058ef180a8a9b4e67a56458c6f65e1ccf16e (diff) | |
download | chromium_src-c79991f43c51b0390a58fdd712a0146c767d221f.zip chromium_src-c79991f43c51b0390a58fdd712a0146c767d221f.tar.gz chromium_src-c79991f43c51b0390a58fdd712a0146c767d221f.tar.bz2 |
mac: Add _EXPORT macros, content/.
BUG=90078
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9368017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/find_pasteboard.h | 7 | ||||
-rw-r--r-- | content/browser/mach_broker_mac.h | 4 | ||||
-rw-r--r-- | content/browser/tab_contents/web_contents_view_mac.h | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/content/browser/find_pasteboard.h b/content/browser/find_pasteboard.h index 9369ba6..d35d4cc 100644 --- a/content/browser/find_pasteboard.h +++ b/content/browser/find_pasteboard.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -13,8 +13,9 @@ #import <Cocoa/Cocoa.h> #include "base/memory/scoped_nsobject.h" +#include "content/common/content_export.h" -extern NSString* kFindPasteboardChangedNotification; +CONTENT_EXPORT extern NSString* kFindPasteboardChangedNotification; // Manages the find pasteboard. Use this to copy text to the find pasteboard, // to get the text currently on the find pasteboard, and to receive @@ -53,6 +54,6 @@ extern NSString* kFindPasteboardChangedNotification; #endif // __OBJC__ // Also provide a c++ interface -string16 GetFindPboardText(); +CONTENT_EXPORT string16 GetFindPboardText(); #endif // CONTENT_BROWSER_FIND_PASTEBOARD_H_ diff --git a/content/browser/mach_broker_mac.h b/content/browser/mach_broker_mac.h index 3a1cea3..5c8e5f8 100644 --- a/content/browser/mach_broker_mac.h +++ b/content/browser/mach_broker_mac.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -36,7 +36,7 @@ class MachBroker : public base::ProcessMetrics::PortProvider, public content::NotificationObserver { public: // Returns the global MachBroker. - static MachBroker* GetInstance(); + CONTENT_EXPORT static MachBroker* GetInstance(); // Performs any necessary setup that cannot happen in the constructor. // Callers MUST acquire the lock given by GetLock() before calling this diff --git a/content/browser/tab_contents/web_contents_view_mac.h b/content/browser/tab_contents/web_contents_view_mac.h index 503e06b..63edfbd 100644 --- a/content/browser/tab_contents/web_contents_view_mac.h +++ b/content/browser/tab_contents/web_contents_view_mac.h @@ -159,7 +159,7 @@ class WebContentsViewMacDelegate; namespace web_contents_view_mac { // Creates a WebContentsViewMac. Takes ownership of |delegate|. -content::WebContentsView* CreateWebContentsView( +CONTENT_EXPORT content::WebContentsView* CreateWebContentsView( content::WebContents* web_contents, content::WebContentsViewMacDelegate* delegate); } |