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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/style/DataRef.h ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | 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, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1485 void setEmptyState(bool b) { setUnique(); noninherited_flags.emptyState = b; } 1485 void setEmptyState(bool b) { setUnique(); noninherited_flags.emptyState = b; }
1486 bool firstChildState() const { return noninherited_flags.firstChildState; } 1486 bool firstChildState() const { return noninherited_flags.firstChildState; }
1487 void setFirstChildState() { setUnique(); noninherited_flags.firstChildState = true; } 1487 void setFirstChildState() { setUnique(); noninherited_flags.firstChildState = true; }
1488 bool lastChildState() const { return noninherited_flags.lastChildState; } 1488 bool lastChildState() const { return noninherited_flags.lastChildState; }
1489 void setLastChildState() { setUnique(); noninherited_flags.lastChildState = true; } 1489 void setLastChildState() { setUnique(); noninherited_flags.lastChildState = true; }
1490 1490
1491 Color visitedDependentColor(int colorProperty) const; 1491 Color visitedDependentColor(int colorProperty) const;
1492 1492
1493 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe ritance = true; } 1493 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe ritance = true; }
1494 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex plicitInheritance; } 1494 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex plicitInheritance; }
1495
1496 void reportMemoryUsage(MemoryObjectInfo*) const;
1497 1495
1498 // Initial values for all the properties 1496 // Initial values for all the properties
1499 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } 1497 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; }
1500 static EBorderStyle initialBorderStyle() { return BNONE; } 1498 static EBorderStyle initialBorderStyle() { return BNONE; }
1501 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } 1499 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; }
1502 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } 1500 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); }
1503 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed) , Length(0, Fixed)); } 1501 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed) , Length(0, Fixed)); }
1504 static ECaptionSide initialCaptionSide() { return CAPTOP; } 1502 static ECaptionSide initialCaptionSide() { return CAPTOP; }
1505 static EClear initialClear() { return CNONE; } 1503 static EClear initialClear() { return CNONE; }
1506 static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; } 1504 static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; }
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) 1803 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation))
1806 return false; 1804 return false;
1807 1805
1808 rareInheritedData.access()->m_textOrientation = textOrientation; 1806 rareInheritedData.access()->m_textOrientation = textOrientation;
1809 return true; 1807 return true;
1810 } 1808 }
1811 1809
1812 } // namespace WebCore 1810 } // namespace WebCore
1813 1811
1814 #endif // RenderStyle_h 1812 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/DataRef.h ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698