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

Side by Side Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 15748002: Initial support for experimental touch-action CSS feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unnecessary CSSParserContext change Created 7 years, 7 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 reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; 488 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear };
489 489
490 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; 490 enum WrapThrough { WrapThroughWrap, WrapThroughNone };
491 491
492 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; 492 enum RubyPosition { RubyPositionBefore, RubyPositionAfter };
493 493
494 enum GridAutoFlow { AutoFlowNone, AutoFlowColumn, AutoFlowRow }; 494 enum GridAutoFlow { AutoFlowNone, AutoFlowColumn, AutoFlowRow };
495 495
496 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag }; 496 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag };
497 497
498 enum TouchAction { TouchActionAuto, TouchActionNone };
499
498 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). 500 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
499 static const float maximumAllowedFontSize = 1000000.0f; 501 static const float maximumAllowedFontSize = 1000000.0f;
500 502
501 #if ENABLE(CSS3_TEXT) 503 #if ENABLE(CSS3_TEXT)
502 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 504 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
503 #endif 505 #endif
504 506
505 } // namespace WebCore 507 } // namespace WebCore
506 508
507 #endif // RenderStyleConstants_h 509 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareNonInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698