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

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

Issue 3046028: Fix line ending with white spaces in some files. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: rm nl 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 | « no previous file | chrome/installer/util/installer_util_unittests_resource.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_DESCRIPTOR_MAC_H_ 5 #ifndef CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_
6 #define CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_ 6 #define CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 10
11 #ifdef __OBJC__ 11 #ifdef __OBJC__
12 @class NSFont; 12 @class NSFont;
13 #else 13 #else
14 class NSFont; 14 class NSFont;
15 #endif 15 #endif
16 16
17 // Container to allow serializing an NSFont over IPC. 17 // Container to allow serializing an NSFont over IPC.
18 struct FontDescriptor { 18 struct FontDescriptor {
19 explicit FontDescriptor(NSFont* font); 19 explicit FontDescriptor(NSFont* font);
20 20
21 FontDescriptor() : font_point_size(0) {} 21 FontDescriptor() : font_point_size(0) {}
22 22
23 // Return an autoreleased NSFont corresponding to the font description. 23 // Return an autoreleased NSFont corresponding to the font description.
24 NSFont* nsFont() const; 24 NSFont* nsFont() const;
25 25
26 // Name of the font. 26 // Name of the font.
27 string16 font_name; 27 string16 font_name;
28 28
29 // Size in points. 29 // Size in points.
30 float font_point_size; 30 float font_point_size;
31 }; 31 };
32 32
33 #endif // CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_ 33 #endif // CHROME_COMMON_FONT_DESCRIPTOR_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/util/installer_util_unittests_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698