| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2013 Google Inc. All rights reserved. | 5 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 } | 197 } |
| 198 moveWidgetToParentSoon(m_widget.get(), m_frameView); | 198 moveWidgetToParentSoon(m_widget.get(), m_frameView); |
| 199 } | 199 } |
| 200 | 200 |
| 201 if (AXObjectCache* cache = document()->existingAXObjectCache()) | 201 if (AXObjectCache* cache = document()->existingAXObjectCache()) |
| 202 cache->childrenChanged(this); | 202 cache->childrenChanged(this); |
| 203 } | 203 } |
| 204 | 204 |
| 205 void RenderWidget::layout() | 205 void RenderWidget::layout() |
| 206 { | 206 { |
| 207 StackStats::LayoutCheckPoint layoutCheckPoint; | |
| 208 ASSERT(needsLayout()); | 207 ASSERT(needsLayout()); |
| 209 | 208 |
| 210 clearNeedsLayout(); | 209 clearNeedsLayout(); |
| 211 } | 210 } |
| 212 | 211 |
| 213 void RenderWidget::styleDidChange(StyleDifference diff, const RenderStyle* oldSt
yle) | 212 void RenderWidget::styleDidChange(StyleDifference diff, const RenderStyle* oldSt
yle) |
| 214 { | 213 { |
| 215 RenderReplaced::styleDidChange(diff, oldStyle); | 214 RenderReplaced::styleDidChange(diff, oldStyle); |
| 216 if (m_widget) { | 215 if (m_widget) { |
| 217 if (style()->visibility() != VISIBLE) | 216 if (style()->visibility() != VISIBLE) |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor
) const | 374 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor
) const |
| 376 { | 375 { |
| 377 if (widget() && widget()->isPluginView()) { | 376 if (widget() && widget()->isPluginView()) { |
| 378 // A plug-in is responsible for setting the cursor when the pointer is o
ver it. | 377 // A plug-in is responsible for setting the cursor when the pointer is o
ver it. |
| 379 return DoNotSetCursor; | 378 return DoNotSetCursor; |
| 380 } | 379 } |
| 381 return RenderReplaced::getCursor(point, cursor); | 380 return RenderReplaced::getCursor(point, cursor); |
| 382 } | 381 } |
| 383 | 382 |
| 384 } // namespace WebCore | 383 } // namespace WebCore |
| OLD | NEW |