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

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

Issue 2915683002: Generate enum/getters/setters/mappings for ruby-position. (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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis }; 285 enum TextOverflow { kTextOverflowClip = 0, kTextOverflowEllipsis };
286 286
287 enum class EImageRendering { 287 enum class EImageRendering {
288 kAuto, 288 kAuto,
289 kOptimizeSpeed, 289 kOptimizeSpeed,
290 kOptimizeQuality, 290 kOptimizeQuality,
291 kOptimizeContrast, 291 kOptimizeContrast,
292 kPixelated 292 kPixelated
293 }; 293 };
294 294
295 enum class RubyPosition { kBefore, kAfter };
296
297 static const size_t kGridAutoFlowBits = 4; 295 static const size_t kGridAutoFlowBits = 4;
298 enum InternalGridAutoFlowAlgorithm { 296 enum InternalGridAutoFlowAlgorithm {
299 kInternalAutoFlowAlgorithmSparse = 0x1, 297 kInternalAutoFlowAlgorithmSparse = 0x1,
300 kInternalAutoFlowAlgorithmDense = 0x2 298 kInternalAutoFlowAlgorithmDense = 0x2
301 }; 299 };
302 300
303 enum InternalGridAutoFlowDirection { 301 enum InternalGridAutoFlowDirection {
304 kInternalAutoFlowDirectionRow = 0x4, 302 kInternalAutoFlowDirectionRow = 0x4,
305 kInternalAutoFlowDirectionColumn = 0x8 303 kInternalAutoFlowDirectionColumn = 0x8
306 }; 304 };
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // fraction, which leaves 20 bits for the integer part, making 1048575 422 // fraction, which leaves 20 bits for the integer part, making 1048575
425 // the largest number. 423 // the largest number.
426 424
427 static const int kBorderWidthFractionalBits = 6; 425 static const int kBorderWidthFractionalBits = 6;
428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; 426 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits;
429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; 427 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator;
430 428
431 } // namespace blink 429 } // namespace blink
432 430
433 #endif // ComputedStyleConstants_h 431 #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