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

Side by Side Diff: chrome/common/font_loader_mac.h

Issue 3181028: FBTB: Remove unneeded #includes of base/ref_counted.h and base/string16.h in src/chrome. (Closed)
Patch Set: should now build? Created 10 years, 4 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
« no previous file with comments | « chrome/common/extensions/update_manifest.cc ('k') | chrome/gpu/gpu_video_service.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_COMMON_FONT_LOADER_MAC_H_ 5 #ifndef CHROME_COMMON_FONT_LOADER_MAC_H_
6 #define CHROME_COMMON_FONT_LOADER_MAC_H_ 6 #define CHROME_COMMON_FONT_LOADER_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <ApplicationServices/ApplicationServices.h> 9 #include <ApplicationServices/ApplicationServices.h>
10 10
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/string16.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;
18 #endif 17 #endif
19 18
20 // Provides functionality to transmit fonts over IPC. 19 // Provides functionality to transmit fonts over IPC.
21 // 20 //
22 // Note about font formats: .dfont (datafork suitcase) fonts are currently not 21 // Note about font formats: .dfont (datafork suitcase) fonts are currently not
(...skipping 24 matching lines...) Expand all
47 // returns true on success, false on failure. 46 // returns true on success, false on failure.
48 // |font_container| - A font container corresponding to the designated font. 47 // |font_container| - A font container corresponding to the designated font.
49 // The caller is responsible for releasing this value via ATSFontDeactivate() 48 // The caller is responsible for releasing this value via ATSFontDeactivate()
50 // when done 49 // when done
51 static bool ATSFontContainerFromBuffer(base::SharedMemoryHandle font_data, 50 static bool ATSFontContainerFromBuffer(base::SharedMemoryHandle font_data,
52 uint32 font_data_size, 51 uint32 font_data_size,
53 ATSFontContainerRef* font_container); 52 ATSFontContainerRef* font_container);
54 }; 53 };
55 54
56 #endif // CHROME_COMMON_FONT_LOADER_MAC_H_ 55 #endif // CHROME_COMMON_FONT_LOADER_MAC_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/update_manifest.cc ('k') | chrome/gpu/gpu_video_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698