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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontDescription.h

Issue 2941893002: DO NOT SUBMIT: results of old clang-format (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 7 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 unsigned common : 2; 105 unsigned common : 2;
106 unsigned discretionary : 2; 106 unsigned discretionary : 2;
107 unsigned historical : 2; 107 unsigned historical : 2;
108 unsigned contextual : 2; 108 unsigned contextual : 2;
109 }; 109 };
110 110
111 struct Size { 111 struct Size {
112 STACK_ALLOCATED(); 112 STACK_ALLOCATED();
113 Size(unsigned keyword, float value, bool is_absolute) 113 Size(unsigned keyword, float value, bool is_absolute)
114 : keyword(keyword), is_absolute(is_absolute), value(value) {} 114 : keyword(keyword), is_absolute(is_absolute), value(value) {}
115 unsigned keyword : 4; // FontDescription::keywordSize 115 unsigned keyword : 4; // FontDescription::keywordSize
116 unsigned is_absolute : 1; // FontDescription::isAbsoluteSize 116 unsigned is_absolute : 1; // FontDescription::isAbsoluteSize
117 float value; 117 float value;
118 }; 118 };
119 119
120 struct FamilyDescription { 120 struct FamilyDescription {
121 STACK_ALLOCATED(); 121 STACK_ALLOCATED();
122 FamilyDescription(GenericFamilyType generic_family) 122 FamilyDescription(GenericFamilyType generic_family)
123 : generic_family(generic_family) {} 123 : generic_family(generic_family) {}
124 FamilyDescription(GenericFamilyType generic_family, 124 FamilyDescription(GenericFamilyType generic_family,
125 const FontFamily& family) 125 const FontFamily& family)
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 }; 390 };
391 391
392 static TypesettingFeatures default_typesetting_features_; 392 static TypesettingFeatures default_typesetting_features_;
393 393
394 static bool use_subpixel_text_positioning_; 394 static bool use_subpixel_text_positioning_;
395 }; 395 };
396 396
397 } // namespace blink 397 } // namespace blink
398 398
399 #endif 399 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698