OLD | NEW |
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 Apple Inc. All rights reserved. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. 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 26 matching lines...) Expand all Loading... |
37 #include "core/layout/LayoutTextFragment.h" | 37 #include "core/layout/LayoutTextFragment.h" |
38 #include "core/layout/LayoutView.h" | 38 #include "core/layout/LayoutView.h" |
39 #include "core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h" | 39 #include "core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h" |
40 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" | 40 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" |
41 #include "core/page/scrolling/ScrollingConstraints.h" | 41 #include "core/page/scrolling/ScrollingConstraints.h" |
42 #include "core/paint/DeprecatedPaintLayer.h" | 42 #include "core/paint/DeprecatedPaintLayer.h" |
43 #include "core/style/BorderEdge.h" | 43 #include "core/style/BorderEdge.h" |
44 #include "core/style/ShadowList.h" | 44 #include "core/style/ShadowList.h" |
45 #include "platform/LengthFunctions.h" | 45 #include "platform/LengthFunctions.h" |
46 #include "platform/geometry/TransformState.h" | 46 #include "platform/geometry/TransformState.h" |
47 #include "platform/graphics/DrawLooperBuilder.h" | |
48 #include "platform/graphics/GraphicsContextStateSaver.h" | |
49 #include "platform/graphics/Path.h" | |
50 #include "wtf/CurrentTime.h" | 47 #include "wtf/CurrentTime.h" |
51 | 48 |
52 namespace blink { | 49 namespace blink { |
53 | 50 |
54 class FloatStateForStyleChange { | 51 class FloatStateForStyleChange { |
55 public: | 52 public: |
56 static void setWasFloating(LayoutBoxModelObject* boxModelObject, bool wasFlo
ating) | 53 static void setWasFloating(LayoutBoxModelObject* boxModelObject, bool wasFlo
ating) |
57 { | 54 { |
58 s_wasFloating = wasFloating; | 55 s_wasFloating = wasFloating; |
59 s_boxModelObject = boxModelObject; | 56 s_boxModelObject = boxModelObject; |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 if (rootElementStyle->hasBackground()) | 1003 if (rootElementStyle->hasBackground()) |
1007 return false; | 1004 return false; |
1008 | 1005 |
1009 if (node() != document().firstBodyElement()) | 1006 if (node() != document().firstBodyElement()) |
1010 return false; | 1007 return false; |
1011 | 1008 |
1012 return true; | 1009 return true; |
1013 } | 1010 } |
1014 | 1011 |
1015 } // namespace blink | 1012 } // namespace blink |
OLD | NEW |