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

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

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comment. 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 { 351 {
352 return imageOutsets(maskBoxImage()); 352 return imageOutsets(maskBoxImage());
353 } 353 }
354 354
355 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets(); } 355 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets(); }
356 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets( ) : FilterOutsets(); } 356 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets( ) : FilterOutsets(); }
357 357
358 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO rdering); } 358 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO rdering); }
359 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } 359 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; }
360 360
361 bool isStyleAvailable() const;
362
363 // attribute getter methods 361 // attribute getter methods
364 362
365 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e ffectiveDisplay); } 363 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e ffectiveDisplay); }
366 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited _flags.originalDisplay); } 364 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited _flags.originalDisplay); }
367 365
368 const Length& left() const { return surround->offset.left(); } 366 const Length& left() const { return surround->offset.left(); }
369 const Length& right() const { return surround->offset.right(); } 367 const Length& right() const { return surround->offset.right(); }
370 const Length& top() const { return surround->offset.top(); } 368 const Length& top() const { return surround->offset.top(); }
371 const Length& bottom() const { return surround->offset.bottom(); } 369 const Length& bottom() const { return surround->offset.bottom(); }
372 370
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 1385
1388 rareInheritedData.access()->m_textOrientation = textOrientation; 1386 rareInheritedData.access()->m_textOrientation = textOrientation;
1389 return true; 1387 return true;
1390 } 1388 }
1391 1389
1392 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1390 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1393 1391
1394 } // namespace blink 1392 } // namespace blink
1395 1393
1396 #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/page/FocusController.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698