| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 195 |
| 196 if (style()->visibility() != VISIBLE) | 196 if (style()->visibility() != VISIBLE) |
| 197 m_widget->hide(); | 197 m_widget->hide(); |
| 198 else { | 198 else { |
| 199 m_widget->show(); | 199 m_widget->show(); |
| 200 repaint(); | 200 repaint(); |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 moveWidgetToParentSoon(m_widget.get(), m_frameView); | 203 moveWidgetToParentSoon(m_widget.get(), m_frameView); |
| 204 } | 204 } |
| 205 |
| 206 if (AXObjectCache* cache = document()->existingAXObjectCache()) |
| 207 cache->childrenChanged(this); |
| 205 } | 208 } |
| 206 | 209 |
| 207 void RenderWidget::layout() | 210 void RenderWidget::layout() |
| 208 { | 211 { |
| 209 StackStats::LayoutCheckPoint layoutCheckPoint; | 212 StackStats::LayoutCheckPoint layoutCheckPoint; |
| 210 ASSERT(needsLayout()); | 213 ASSERT(needsLayout()); |
| 211 | 214 |
| 212 setNeedsLayout(false); | 215 setNeedsLayout(false); |
| 213 } | 216 } |
| 214 | 217 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor
) const | 378 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor
) const |
| 376 { | 379 { |
| 377 if (widget() && widget()->isPluginView()) { | 380 if (widget() && widget()->isPluginView()) { |
| 378 // A plug-in is responsible for setting the cursor when the pointer is o
ver it. | 381 // A plug-in is responsible for setting the cursor when the pointer is o
ver it. |
| 379 return DoNotSetCursor; | 382 return DoNotSetCursor; |
| 380 } | 383 } |
| 381 return RenderReplaced::getCursor(point, cursor); | 384 return RenderReplaced::getCursor(point, cursor); |
| 382 } | 385 } |
| 383 | 386 |
| 384 } // namespace WebCore | 387 } // namespace WebCore |
| OLD | NEW |