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

Side by Side Diff: content/common/mac/font_loader.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/mac/font_descriptor.h ('k') | content/common/media/audio_param_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_MAC_FONT_LOADER_H_ 5 #ifndef CONTENT_COMMON_MAC_FONT_LOADER_H_
6 #define CONTENT_COMMON_MAC_FONT_LOADER_H_ 6 #define CONTENT_COMMON_MAC_FONT_LOADER_H_
7 #pragma once
8 7
9 #include <ApplicationServices/ApplicationServices.h> 8 #include <ApplicationServices/ApplicationServices.h>
10 9
11 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
12 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
13 12
14 #ifdef __OBJC__ 13 #ifdef __OBJC__
15 @class NSFont; 14 @class NSFont;
16 #else 15 #else
17 class NSFont; 16 class NSFont;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // |out| - A CGFontRef corresponding to the designated font. 59 // |out| - A CGFontRef corresponding to the designated font.
61 // The caller is responsible for releasing this value via CGFontRelease() 60 // The caller is responsible for releasing this value via CGFontRelease()
62 // when done. 61 // when done.
63 CONTENT_EXPORT 62 CONTENT_EXPORT
64 static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data, 63 static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data,
65 uint32 font_data_size, 64 uint32 font_data_size,
66 CGFontRef* out); 65 CGFontRef* out);
67 }; 66 };
68 67
69 #endif // CONTENT_COMMON_MAC_FONT_LOADER_H_ 68 #endif // CONTENT_COMMON_MAC_FONT_LOADER_H_
OLDNEW
« no previous file with comments | « content/common/mac/font_descriptor.h ('k') | content/common/media/audio_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698