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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2912683002: Generate methods for Hyphens and HyphenationString in ComputedStyleBase. (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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed }; 269 enum OffsetRotationType { kOffsetRotationAuto, kOffsetRotationFixed };
270 270
271 enum EBackfaceVisibility { 271 enum EBackfaceVisibility {
272 kBackfaceVisibilityVisible, 272 kBackfaceVisibilityVisible,
273 kBackfaceVisibilityHidden 273 kBackfaceVisibilityHidden
274 }; 274 };
275 275
276 enum ELineClampType { kLineClampLineCount, kLineClampPercentage }; 276 enum ELineClampType { kLineClampLineCount, kLineClampPercentage };
277 277
278 enum class Hyphens { kNone, kManual, kAuto };
279
280 enum class TextEmphasisFill { kFilled, kOpen }; 278 enum class TextEmphasisFill { kFilled, kOpen };
281 279
282 enum class TextEmphasisMark { 280 enum class TextEmphasisMark {
283 kNone, 281 kNone,
284 kAuto, 282 kAuto,
285 kDot, 283 kDot,
286 kCircle, 284 kCircle,
287 kDoubleCircle, 285 kDoubleCircle,
288 kTriangle, 286 kTriangle,
289 kSesame, 287 kSesame,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 // fraction, which leaves 20 bits for the integer part, making 1048575 432 // fraction, which leaves 20 bits for the integer part, making 1048575
435 // the largest number. 433 // the largest number.
436 434
437 static const int kBorderWidthFractionalBits = 6; 435 static const int kBorderWidthFractionalBits = 6;
438 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; 436 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits;
439 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; 437 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator;
440 438
441 } // namespace blink 439 } // namespace blink
442 440
443 #endif // ComputedStyleConstants_h 441 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698