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

Side by Side Diff: Source/core/layout/LayoutBox.cpp

Issue 1171853004: A whole lotta nits in core/layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutBoxModelObject.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) 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/layout/LayoutGrid.h" 46 #include "core/layout/LayoutGrid.h"
47 #include "core/layout/LayoutInline.h" 47 #include "core/layout/LayoutInline.h"
48 #include "core/layout/LayoutListBox.h" 48 #include "core/layout/LayoutListBox.h"
49 #include "core/layout/LayoutListMarker.h" 49 #include "core/layout/LayoutListMarker.h"
50 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" 50 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h"
51 #include "core/layout/LayoutPart.h" 51 #include "core/layout/LayoutPart.h"
52 #include "core/layout/LayoutScrollbarPart.h" 52 #include "core/layout/LayoutScrollbarPart.h"
53 #include "core/layout/LayoutTableCell.h" 53 #include "core/layout/LayoutTableCell.h"
54 #include "core/layout/LayoutView.h" 54 #include "core/layout/LayoutView.h"
55 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" 55 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h"
56 #include "core/style/ShadowList.h"
57 #include "core/page/AutoscrollController.h" 56 #include "core/page/AutoscrollController.h"
58 #include "core/page/Page.h" 57 #include "core/page/Page.h"
59 #include "core/paint/BackgroundImageGeometry.h" 58 #include "core/paint/BackgroundImageGeometry.h"
60 #include "core/paint/BoxPainter.h" 59 #include "core/paint/BoxPainter.h"
61 #include "core/paint/DeprecatedPaintLayer.h" 60 #include "core/paint/DeprecatedPaintLayer.h"
61 #include "core/style/ShadowList.h"
62 #include "platform/LengthFunctions.h" 62 #include "platform/LengthFunctions.h"
63 #include "platform/geometry/DoubleRect.h" 63 #include "platform/geometry/DoubleRect.h"
64 #include "platform/geometry/FloatQuad.h" 64 #include "platform/geometry/FloatQuad.h"
65 #include "platform/geometry/FloatRoundedRect.h" 65 #include "platform/geometry/FloatRoundedRect.h"
66 #include "platform/geometry/TransformState.h" 66 #include "platform/geometry/TransformState.h"
67 #include "platform/graphics/GraphicsContext.h" 67 #include "platform/graphics/GraphicsContext.h"
68 #include "platform/graphics/paint/DisplayItemList.h" 68 #include "platform/graphics/paint/DisplayItemList.h"
69 #include <algorithm> 69 #include <algorithm>
70 #include <math.h> 70 #include <math.h>
71 71
(...skipping 4718 matching lines...) Expand 10 before | Expand all | Expand 10 after
4790 bool LayoutBox::canRenderBorderImage() const 4790 bool LayoutBox::canRenderBorderImage() const
4791 { 4791 {
4792 if (!style()->hasBorderDecoration()) 4792 if (!style()->hasBorderDecoration())
4793 return false; 4793 return false;
4794 4794
4795 StyleImage* borderImage = style()->borderImage().image(); 4795 StyleImage* borderImage = style()->borderImage().image();
4796 return borderImage && borderImage->canRender(*this, style()->effectiveZoom() ) && borderImage->isLoaded(); 4796 return borderImage && borderImage->canRender(*this, style()->effectiveZoom() ) && borderImage->isLoaded();
4797 } 4797 }
4798 4798
4799 } // namespace blink 4799 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698