summaryrefslogtreecommitdiffstats
path: root/content/common/mac/font_loader.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 21:05:56 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 21:05:56 +0000
commitc5d463ec9cf8eda310e0992b7bb30e9041dfa2b0 (patch)
treebd6bf910534a45c772585754061ae531e6ed81ae /content/common/mac/font_loader.h
parentafbdd164e2cc5babc0fc8b8574c5b95d4a818b78 (diff)
downloadchromium_src-c5d463ec9cf8eda310e0992b7bb30e9041dfa2b0.zip
chromium_src-c5d463ec9cf8eda310e0992b7bb30e9041dfa2b0.tar.gz
chromium_src-c5d463ec9cf8eda310e0992b7bb30e9041dfa2b0.tar.bz2
content: Add CONTENT_EXPORT in most places required to link tests on mac.
BUG=90078 TEST=none Review URL: http://codereview.chromium.org/9703071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/mac/font_loader.h')
-rw-r--r--content/common/mac/font_loader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/common/mac/font_loader.h b/content/common/mac/font_loader.h
index 17f63e1..0b64417 100644
--- a/content/common/mac/font_loader.h
+++ b/content/common/mac/font_loader.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.
@@ -9,6 +9,7 @@
#include <ApplicationServices/ApplicationServices.h>
#include "base/shared_memory.h"
+#include "content/common/content_export.h"
#ifdef __OBJC__
@class NSFont;
@@ -33,6 +34,7 @@ class FontLoader {
// file.
// |font_data_size| - size of data contained in |font_data|.
// |font_id| - unique identifier for the on-disk file we load for the font.
+ CONTENT_EXPORT
static bool LoadFontIntoBuffer(NSFont* font_to_encode,
base::SharedMemory* font_data,
uint32* font_data_size,
@@ -49,6 +51,7 @@ class FontLoader {
// |out| - A CGFontRef corresponding to the designated font.
// The caller is responsible for releasing this value via CGFontRelease()
// when done.
+ CONTENT_EXPORT
static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data,
uint32 font_data_size,
CGFontRef* out);