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

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

Issue 943333005: Remove some dead filters related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.cpp ('k') | sky/engine/platform/BUILD.gn » ('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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 LayoutBoxExtent imageOutsets(const NinePieceImage&) const; 336 LayoutBoxExtent imageOutsets(const NinePieceImage&) const;
337 bool hasBorderImageOutsets() const 337 bool hasBorderImageOutsets() const
338 { 338 {
339 return borderImage().hasImage() && borderImage().outset().nonZero(); 339 return borderImage().hasImage() && borderImage().outset().nonZero();
340 } 340 }
341 LayoutBoxExtent borderImageOutsets() const 341 LayoutBoxExtent borderImageOutsets() const
342 { 342 {
343 return imageOutsets(borderImage()); 343 return imageOutsets(borderImage());
344 } 344 }
345 345
346 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets(); }
347 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets( ) : FilterOutsets(); } 346 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets( ) : FilterOutsets(); }
348 347
349 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO rdering); } 348 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO rdering); }
350 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } 349 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; }
351 350
352 // attribute getter methods 351 // attribute getter methods
353 352
354 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e ffectiveDisplay); } 353 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e ffectiveDisplay); }
355 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited _flags.originalDisplay); } 354 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited _flags.originalDisplay); }
356 355
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 1302
1304 rareInheritedData.access()->m_textOrientation = textOrientation; 1303 rareInheritedData.access()->m_textOrientation = textOrientation;
1305 return true; 1304 return true;
1306 } 1305 }
1307 1306
1308 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1307 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1309 1308
1310 } // namespace blink 1309 } // namespace blink
1311 1310
1312 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1311 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.cpp ('k') | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698