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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 3050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3061 { | 3061 { |
3062 int outlineSize = outlineStyleForRepaint()->outlineSize(); | 3062 int outlineSize = outlineStyleForRepaint()->outlineSize(); |
3063 if (const ShadowData* boxShadow = style()->boxShadow()) { | 3063 if (const ShadowData* boxShadow = style()->boxShadow()) { |
3064 boxShadow->adjustRectForShadow(rect, outlineSize); | 3064 boxShadow->adjustRectForShadow(rect, outlineSize); |
3065 return; | 3065 return; |
3066 } | 3066 } |
3067 | 3067 |
3068 rect.inflate(outlineSize); | 3068 rect.inflate(outlineSize); |
3069 } | 3069 } |
3070 | 3070 |
3071 AnimationController* RenderObject::animation() const | 3071 NonNullPtr<AnimationController> RenderObject::animation() const |
3072 { | 3072 { |
3073 return frame()->animation(); | 3073 return frame()->animation(); |
3074 } | 3074 } |
3075 | 3075 |
3076 bool RenderObject::isInert() const | 3076 bool RenderObject::isInert() const |
3077 { | 3077 { |
3078 const RenderObject* renderer = this; | 3078 const RenderObject* renderer = this; |
3079 while (!renderer->node()) | 3079 while (!renderer->node()) |
3080 renderer = renderer->parent(); | 3080 renderer = renderer->parent(); |
3081 return renderer->node()->isInert(); | 3081 return renderer->node()->isInert(); |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3322 { | 3322 { |
3323 if (object1) { | 3323 if (object1) { |
3324 const WebCore::RenderObject* root = object1; | 3324 const WebCore::RenderObject* root = object1; |
3325 while (root->parent()) | 3325 while (root->parent()) |
3326 root = root->parent(); | 3326 root = root->parent(); |
3327 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3327 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
3328 } | 3328 } |
3329 } | 3329 } |
3330 | 3330 |
3331 #endif | 3331 #endif |
OLD | NEW |