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

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

Issue 2392143002: reflow comments in core/style (Closed)
Patch Set: . Created 4 years, 2 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) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) 2005, 2006 Apple Computer, Inc. 4 Copyright (C) 2005, 2006 Apple Computer, Inc.
5 Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 unsigned joinStyle : 2; // LineJoin 460 unsigned joinStyle : 2; // LineJoin
461 unsigned textAnchor : 2; // ETextAnchor 461 unsigned textAnchor : 2; // ETextAnchor
462 unsigned colorInterpolation : 2; // EColorInterpolation 462 unsigned colorInterpolation : 2; // EColorInterpolation
463 unsigned colorInterpolationFilters : 2; // EColorInterpolation_ 463 unsigned colorInterpolationFilters : 2; // EColorInterpolation_
464 unsigned paintOrder : 3; // EPaintOrder 464 unsigned paintOrder : 3; // EPaintOrder
465 unsigned dominantBaseline : 4; // EDominantBaseline 465 unsigned dominantBaseline : 4; // EDominantBaseline
466 } svg_inherited_flags; 466 } svg_inherited_flags;
467 467
468 // don't inherit 468 // don't inherit
469 struct NonInheritedFlags { 469 struct NonInheritedFlags {
470 // 32 bit non-inherited, don't add to the struct, or the operator will break . 470 // 32 bit non-inherited, don't add to the struct, or the operator will
471 // break.
471 bool operator==(const NonInheritedFlags& other) const { 472 bool operator==(const NonInheritedFlags& other) const {
472 return niflags == other.niflags; 473 return niflags == other.niflags;
473 } 474 }
474 bool operator!=(const NonInheritedFlags& other) const { 475 bool operator!=(const NonInheritedFlags& other) const {
475 return niflags != other.niflags; 476 return niflags != other.niflags;
476 } 477 }
477 478
478 union { 479 union {
479 struct { 480 struct {
480 unsigned alignmentBaseline : 4; // EAlignmentBaseline 481 unsigned alignmentBaseline : 4; // EAlignmentBaseline
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 svg_noninherited_flags.f.baselineShift = initialBaselineShift(); 530 svg_noninherited_flags.f.baselineShift = initialBaselineShift();
530 svg_noninherited_flags.f.vectorEffect = initialVectorEffect(); 531 svg_noninherited_flags.f.vectorEffect = initialVectorEffect();
531 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 532 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
532 svg_noninherited_flags.f.maskType = initialMaskType(); 533 svg_noninherited_flags.f.maskType = initialMaskType();
533 } 534 }
534 }; 535 };
535 536
536 } // namespace blink 537 } // namespace blink
537 538
538 #endif // SVGComputedStyle_h 539 #endif // SVGComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/NinePieceImage.cpp ('k') | third_party/WebKit/Source/core/style/SVGComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698