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

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

Issue 2633633003: Changed EInsideLink to an enum class with an unsigned type. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 WebkitBox, 398 WebkitBox,
399 WebkitInlineBox, 399 WebkitInlineBox,
400 Flex, 400 Flex,
401 InlineFlex, 401 InlineFlex,
402 Grid, 402 Grid,
403 InlineGrid, 403 InlineGrid,
404 Contents, 404 Contents,
405 None 405 None
406 }; 406 };
407 407
408 enum EInsideLink { NotInsideLink, InsideUnvisitedLink, InsideVisitedLink }; 408 enum class EInsideLink : unsigned {
409 kNotInsideLink,
410 kInsideUnvisitedLink,
411 kInsideVisitedLink
412 };
409 413
410 enum ETransformStyle3D { TransformStyle3DFlat, TransformStyle3DPreserve3D }; 414 enum ETransformStyle3D { TransformStyle3DFlat, TransformStyle3DPreserve3D };
411 415
412 enum OffsetRotationType { OffsetRotationAuto, OffsetRotationFixed }; 416 enum OffsetRotationType { OffsetRotationAuto, OffsetRotationFixed };
413 417
414 enum EBackfaceVisibility { 418 enum EBackfaceVisibility {
415 BackfaceVisibilityVisible, 419 BackfaceVisibilityVisible,
416 BackfaceVisibilityHidden 420 BackfaceVisibilityHidden
417 }; 421 };
418 422
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 ScrollSnapTypeNone, 610 ScrollSnapTypeNone,
607 ScrollSnapTypeMandatory, 611 ScrollSnapTypeMandatory,
608 ScrollSnapTypeProximity 612 ScrollSnapTypeProximity
609 }; 613 };
610 614
611 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 615 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
612 616
613 } // namespace blink 617 } // namespace blink
614 618
615 #endif // ComputedStyleConstants_h 619 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698