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

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

Issue 2681833004: Automatically generate EBreakBetween & EBreakInside (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 TextAlignLastCenter, 299 TextAlignLastCenter,
300 TextAlignLastJustify 300 TextAlignLastJustify
301 }; 301 };
302 302
303 enum TextUnderlinePosition { 303 enum TextUnderlinePosition {
304 // FIXME: Implement support for 'under left' and 'under right' values. 304 // FIXME: Implement support for 'under left' and 'under right' values.
305 TextUnderlinePositionAuto, 305 TextUnderlinePositionAuto,
306 TextUnderlinePositionUnder 306 TextUnderlinePositionUnder
307 }; 307 };
308 308
309 // Values applicable to the break-before, break-after properties.
310 enum class EBreakBetween : unsigned {
311 kAuto,
312 kAvoid,
313 kAvoidColumn,
314 kAvoidPage,
315 kColumn,
316 kLeft,
317 kPage,
318 kRecto,
319 kRight,
320 kVerso
321 };
322
323 // Values applicable to the break-inside property.
324 enum class EBreakInside : unsigned { kAuto, kAvoid, kAvoidColumn, kAvoidPage };
325
326 enum class ECursor : unsigned { 309 enum class ECursor : unsigned {
327 kAuto, 310 kAuto,
328 kCrosshair, 311 kCrosshair,
329 kDefault, 312 kDefault,
330 kPointer, 313 kPointer,
331 kMove, 314 kMove,
332 kVerticalText, 315 kVerticalText,
333 kCell, 316 kCell,
334 kContextMenu, 317 kContextMenu,
335 kAlias, 318 kAlias,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 ScrollSnapTypeNone, 576 ScrollSnapTypeNone,
594 ScrollSnapTypeMandatory, 577 ScrollSnapTypeMandatory,
595 ScrollSnapTypeProximity 578 ScrollSnapTypeProximity
596 }; 579 };
597 580
598 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 581 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
599 582
600 } // namespace blink 583 } // namespace blink
601 584
602 #endif // ComputedStyleConstants_h 585 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698