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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderBlock.cpp

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 } 1564 }
1565 1565
1566 bool pushedClip = pushContentsClip(paintInfo, tx, ty); 1566 bool pushedClip = pushContentsClip(paintInfo, tx, ty);
1567 paintObject(paintInfo, tx, ty); 1567 paintObject(paintInfo, tx, ty);
1568 if (pushedClip) 1568 if (pushedClip)
1569 popContentsClip(paintInfo, phase, tx, ty); 1569 popContentsClip(paintInfo, phase, tx, ty);
1570 1570
1571 // Our scrollbar widgets paint exactly when we tell them to, so that they wo rk properly with 1571 // Our scrollbar widgets paint exactly when we tell them to, so that they wo rk properly with
1572 // z-index. We paint after we painted the background/border, so that the sc rollbars will 1572 // z-index. We paint after we painted the background/border, so that the sc rollbars will
1573 // sit above the background/border. 1573 // sit above the background/border.
1574 if (hasOverflowClip() && (phase == PaintPhaseBlockBackground || phase == Pai ntPhaseChildBlockBackground)) 1574 if (hasOverflowClip() && style()->visibility() == VISIBLE && (phase == Paint PhaseBlockBackground || phase == PaintPhaseChildBlockBackground))
1575 layer()->paintOverflowControls(paintInfo.context, tx, ty, paintInfo.rect ); 1575 layer()->paintOverflowControls(paintInfo.context, tx, ty, paintInfo.rect );
1576 } 1576 }
1577 1577
1578 void RenderBlock::paintColumnRules(PaintInfo& paintInfo, int tx, int ty) 1578 void RenderBlock::paintColumnRules(PaintInfo& paintInfo, int tx, int ty)
1579 { 1579 {
1580 const Color& ruleColor = style()->columnRuleColor(); 1580 const Color& ruleColor = style()->columnRuleColor();
1581 bool ruleTransparent = style()->columnRuleIsTransparent(); 1581 bool ruleTransparent = style()->columnRuleIsTransparent();
1582 EBorderStyle ruleStyle = style()->columnRuleStyle(); 1582 EBorderStyle ruleStyle = style()->columnRuleStyle();
1583 int ruleWidth = style()->columnRuleWidth(); 1583 int ruleWidth = style()->columnRuleWidth();
1584 int colGap = columnGap(); 1584 int colGap = columnGap();
(...skipping 3418 matching lines...) Expand 10 before | Expand all | Expand 10 after
5003 return "RenderBlock (generated)"; 5003 return "RenderBlock (generated)";
5004 if (isRelPositioned()) 5004 if (isRelPositioned())
5005 return "RenderBlock (relative positioned)"; 5005 return "RenderBlock (relative positioned)";
5006 if (isRunIn()) 5006 if (isRunIn())
5007 return "RenderBlock (run-in)"; 5007 return "RenderBlock (run-in)";
5008 return "RenderBlock"; 5008 return "RenderBlock";
5009 } 5009 }
5010 5010
5011 } // namespace WebCore 5011 } // namespace WebCore
5012 5012
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/platform/wx/MouseWheelEventWx.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698