| 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, 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 27 matching lines...) Expand all Loading... |
| 38 #include "sky/engine/core/page/AutoscrollController.h" | 38 #include "sky/engine/core/page/AutoscrollController.h" |
| 39 #include "sky/engine/core/page/EventHandler.h" | 39 #include "sky/engine/core/page/EventHandler.h" |
| 40 #include "sky/engine/core/page/Page.h" | 40 #include "sky/engine/core/page/Page.h" |
| 41 #include "sky/engine/core/rendering/HitTestResult.h" | 41 #include "sky/engine/core/rendering/HitTestResult.h" |
| 42 #include "sky/engine/core/rendering/PaintInfo.h" | 42 #include "sky/engine/core/rendering/PaintInfo.h" |
| 43 #include "sky/engine/core/rendering/RenderFlexibleBox.h" | 43 #include "sky/engine/core/rendering/RenderFlexibleBox.h" |
| 44 #include "sky/engine/core/rendering/RenderGeometryMap.h" | 44 #include "sky/engine/core/rendering/RenderGeometryMap.h" |
| 45 #include "sky/engine/core/rendering/RenderInline.h" | 45 #include "sky/engine/core/rendering/RenderInline.h" |
| 46 #include "sky/engine/core/rendering/RenderLayer.h" | 46 #include "sky/engine/core/rendering/RenderLayer.h" |
| 47 #include "sky/engine/core/rendering/RenderView.h" | 47 #include "sky/engine/core/rendering/RenderView.h" |
| 48 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h" | |
| 49 #include "sky/engine/platform/LengthFunctions.h" | 48 #include "sky/engine/platform/LengthFunctions.h" |
| 50 #include "sky/engine/platform/geometry/FloatQuad.h" | 49 #include "sky/engine/platform/geometry/FloatQuad.h" |
| 51 #include "sky/engine/platform/geometry/TransformState.h" | 50 #include "sky/engine/platform/geometry/TransformState.h" |
| 52 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" | 51 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" |
| 53 | 52 |
| 54 namespace blink { | 53 namespace blink { |
| 55 | 54 |
| 56 // Size of border belt for autoscroll. When mouse pointer in border belt, | 55 // Size of border belt for autoscroll. When mouse pointer in border belt, |
| 57 // autoscroll is started. | 56 // autoscroll is started. |
| 58 static const int autoscrollBeltSize = 20; | 57 static const int autoscrollBeltSize = 20; |
| (...skipping 3452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3511 | 3510 |
| 3512 RenderBox::BoxDecorationData::BoxDecorationData(const RenderStyle& style) | 3511 RenderBox::BoxDecorationData::BoxDecorationData(const RenderStyle& style) |
| 3513 { | 3512 { |
| 3514 backgroundColor = style.colorIncludingFallback(CSSPropertyBackgroundColor); | 3513 backgroundColor = style.colorIncludingFallback(CSSPropertyBackgroundColor); |
| 3515 hasBackground = backgroundColor.alpha() || style.hasBackgroundImage(); | 3514 hasBackground = backgroundColor.alpha() || style.hasBackgroundImage(); |
| 3516 ASSERT(hasBackground == style.hasBackground()); | 3515 ASSERT(hasBackground == style.hasBackground()); |
| 3517 hasBorder = style.hasBorder(); | 3516 hasBorder = style.hasBorder(); |
| 3518 } | 3517 } |
| 3519 | 3518 |
| 3520 } // namespace blink | 3519 } // namespace blink |
| OLD | NEW |