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

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

Issue 2681833004: Automatically generate EBreakBetween & EBreakInside (Closed)
Patch Set: Created 3 years, 10 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, 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 TextAlignLastCenter, 310 TextAlignLastCenter,
311 TextAlignLastJustify 311 TextAlignLastJustify
312 }; 312 };
313 313
314 enum TextUnderlinePosition { 314 enum TextUnderlinePosition {
315 // FIXME: Implement support for 'under left' and 'under right' values. 315 // FIXME: Implement support for 'under left' and 'under right' values.
316 TextUnderlinePositionAuto, 316 TextUnderlinePositionAuto,
317 TextUnderlinePositionUnder 317 TextUnderlinePositionUnder
318 }; 318 };
319 319
320 // Values applicable to the break-before, break-after properties.
amoylan 2017/02/08 02:29:45 Another lost comment.
sashab 2017/02/08 02:32:15 This is now intrinsic to the json5 file - they sha
amoylan 2017/02/08 02:48:46 Acknowledged.
321 enum class EBreakBetween : unsigned {
322 kAuto,
323 kAvoid,
324 kAvoidColumn,
325 kAvoidPage,
326 kColumn,
327 kLeft,
328 kPage,
329 kRecto,
330 kRight,
331 kVerso
332 };
333
334 // Values applicable to the break-inside property.
335 enum class EBreakInside : unsigned { kAuto, kAvoid, kAvoidColumn, kAvoidPage };
336
337 enum class ECursor : unsigned { 320 enum class ECursor : unsigned {
338 kAuto, 321 kAuto,
339 kCrosshair, 322 kCrosshair,
340 kDefault, 323 kDefault,
341 kPointer, 324 kPointer,
342 kMove, 325 kMove,
343 kVerticalText, 326 kVerticalText,
344 kCell, 327 kCell,
345 kContextMenu, 328 kContextMenu,
346 kAlias, 329 kAlias,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 ScrollSnapTypeNone, 587 ScrollSnapTypeNone,
605 ScrollSnapTypeMandatory, 588 ScrollSnapTypeMandatory,
606 ScrollSnapTypeProximity 589 ScrollSnapTypeProximity
607 }; 590 };
608 591
609 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 592 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
610 593
611 } // namespace blink 594 } // namespace blink
612 595
613 #endif // ComputedStyleConstants_h 596 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698