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

Side by Side Diff: sky/engine/core/rendering/InlineFlowBox.h

Issue 766943003: Remove uses of PaintBehaviorFlattenCompositingLayers (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: patch for landing Created 6 years 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 | « no previous file | sky/engine/core/rendering/InlineFlowBox.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) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void clearDescendantsHaveSameLineHeightAndBaseline() 285 void clearDescendantsHaveSameLineHeightAndBaseline()
286 { 286 {
287 m_descendantsHaveSameLineHeightAndBaseline = false; 287 m_descendantsHaveSameLineHeightAndBaseline = false;
288 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) 288 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline())
289 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); 289 parent()->clearDescendantsHaveSameLineHeightAndBaseline();
290 } 290 }
291 291
292 private: 292 private:
293 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); 293 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&);
294 void paintMask(PaintInfo&, const LayoutPoint&); 294 void paintMask(PaintInfo&, const LayoutPoint&);
295 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, CompositeOperator = CompositeSourceOver); 295 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&);
296 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, CompositeOperator = CompositeSourceOver); 296 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&);
297 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou tRect&); 297 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou tRect&);
298 298
299 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); 299 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow);
300 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); 300 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow);
301 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); 301 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow);
302 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow); 302 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow);
303 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow); 303 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow);
304 304
305 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); 305 void setLayoutOverflow(const LayoutRect&, const LayoutRect&);
306 void setVisualOverflow(const LayoutRect&, const LayoutRect&); 306 void setVisualOverflow(const LayoutRect&, const LayoutRect&);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 } 365 }
366 366
367 } // namespace blink 367 } // namespace blink
368 368
369 #ifndef NDEBUG 369 #ifndef NDEBUG
370 // Outside the WebCore namespace for ease of invocation from gdb. 370 // Outside the WebCore namespace for ease of invocation from gdb.
371 void showTree(const blink::InlineFlowBox*); 371 void showTree(const blink::InlineFlowBox*);
372 #endif 372 #endif
373 373
374 #endif // SKY_ENGINE_CORE_RENDERING_INLINEFLOWBOX_H_ 374 #endif // SKY_ENGINE_CORE_RENDERING_INLINEFLOWBOX_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698