 Chromium Code Reviews
 Chromium Code Reviews Issue 15674002:
  Fix issue where iframe content wasn't included in the accessibility tree.  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 15674002:
  Fix issue where iframe content wasn't included in the accessibility tree.  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| 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 if (style()->visibility() != VISIBLE) | 198 if (style()->visibility() != VISIBLE) | 
| 199 m_widget->hide(); | 199 m_widget->hide(); | 
| 200 else { | 200 else { | 
| 201 m_widget->show(); | 201 m_widget->show(); | 
| 202 repaint(); | 202 repaint(); | 
| 203 } | 203 } | 
| 204 } | 204 } | 
| 205 moveWidgetToParentSoon(m_widget.get(), m_frameView); | 205 moveWidgetToParentSoon(m_widget.get(), m_frameView); | 
| 206 } | 206 } | 
| 207 | |
| 208 if (AXObjectCache* cache = document()->existingAXObjectCache()) | |
| 
aboxhall
2013/05/22 16:05:10
Can you help me understand under what circumstance
 
dmazzoni
2013/05/22 16:28:13
The cache shouldn't exist if accessibility is disa
 | |
| 209 cache->childrenChanged(this); | |
| 207 } | 210 } | 
| 208 | 211 | 
| 209 void RenderWidget::layout() | 212 void RenderWidget::layout() | 
| 210 { | 213 { | 
| 211 StackStats::LayoutCheckPoint layoutCheckPoint; | 214 StackStats::LayoutCheckPoint layoutCheckPoint; | 
| 212 ASSERT(needsLayout()); | 215 ASSERT(needsLayout()); | 
| 213 | 216 | 
| 214 setNeedsLayout(false); | 217 setNeedsLayout(false); | 
| 215 } | 218 } | 
| 216 | 219 | 
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 377 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor ) const | 380 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor ) const | 
| 378 { | 381 { | 
| 379 if (widget() && widget()->isPluginView()) { | 382 if (widget() && widget()->isPluginView()) { | 
| 380 // A plug-in is responsible for setting the cursor when the pointer is o ver it. | 383 // A plug-in is responsible for setting the cursor when the pointer is o ver it. | 
| 381 return DoNotSetCursor; | 384 return DoNotSetCursor; | 
| 382 } | 385 } | 
| 383 return RenderReplaced::getCursor(point, cursor); | 386 return RenderReplaced::getCursor(point, cursor); | 
| 384 } | 387 } | 
| 385 | 388 | 
| 386 } // namespace WebCore | 389 } // namespace WebCore | 
| OLD | NEW |