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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyle.h

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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, 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 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 StyleColor textFillColor() const { return rareInheritedData->textFillColor() ; } 1362 StyleColor textFillColor() const { return rareInheritedData->textFillColor() ; }
1363 StyleColor textStrokeColor() const { return rareInheritedData->textStrokeCol or(); } 1363 StyleColor textStrokeColor() const { return rareInheritedData->textStrokeCol or(); }
1364 1364
1365 StyleColor textDecorationColor() const { return rareNonInheritedData->m_text DecorationColor; } 1365 StyleColor textDecorationColor() const { return rareNonInheritedData->m_text DecorationColor; }
1366 1366
1367 void addAppliedTextDecoration(const AppliedTextDecoration&); 1367 void addAppliedTextDecoration(const AppliedTextDecoration&);
1368 1368
1369 // FIXME(sky): Combine these first two. 1369 // FIXME(sky): Combine these first two.
1370 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const ; 1370 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const ;
1371 bool diffNeedsFullLayout(const RenderStyle& other) const; 1371 bool diffNeedsFullLayout(const RenderStyle& other) const;
1372 bool diffNeedsPaintInvalidation(const RenderStyle& other) const;
1373 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; 1372 bool diffNeedsRecompositeLayer(const RenderStyle& other) const;
1374 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer ence&) const; 1373 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer ence&) const;
1375 }; 1374 };
1376 1375
1377 inline bool RenderStyle::isSharable() const 1376 inline bool RenderStyle::isSharable() const
1378 { 1377 {
1379 return !unique(); 1378 return !unique();
1380 } 1379 }
1381 1380
1382 inline bool RenderStyle::setTextOrientation(TextOrientation textOrientation) 1381 inline bool RenderStyle::setTextOrientation(TextOrientation textOrientation)
1383 { 1382 {
1384 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) 1383 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation))
1385 return false; 1384 return false;
1386 1385
1387 rareInheritedData.access()->m_textOrientation = textOrientation; 1386 rareInheritedData.access()->m_textOrientation = textOrientation;
1388 return true; 1387 return true;
1389 } 1388 }
1390 1389
1391 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1390 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1392 1391
1393 } // namespace blink 1392 } // namespace blink
1394 1393
1395 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1394 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderView.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698