OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "core/html/HTMLTableCellElement.h" | 37 #include "core/html/HTMLTableCellElement.h" |
38 #include "core/html/HTMLTableElement.h" | 38 #include "core/html/HTMLTableElement.h" |
39 #include "core/rendering/RenderTableCell.h" | 39 #include "core/rendering/RenderTableCell.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 using namespace HTMLNames; | 43 using namespace HTMLNames; |
44 | 44 |
45 AXTable::AXTable(RenderObject* renderer) | 45 AXTable::AXTable(RenderObject* renderer) |
46 : AXRenderObject(renderer) | 46 : AXRenderObject(renderer) |
47 , m_headerContainer(0) | 47 , m_headerContainer(nullptr) |
48 , m_isAXTable(true) | 48 , m_isAXTable(true) |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 AXTable::~AXTable() | 52 AXTable::~AXTable() |
53 { | 53 { |
54 } | 54 } |
55 | 55 |
56 void AXTable::init() | 56 void AXTable::init() |
57 { | 57 { |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 307 } |
308 | 308 |
309 void AXTable::clearChildren() | 309 void AXTable::clearChildren() |
310 { | 310 { |
311 AXRenderObject::clearChildren(); | 311 AXRenderObject::clearChildren(); |
312 m_rows.clear(); | 312 m_rows.clear(); |
313 m_columns.clear(); | 313 m_columns.clear(); |
314 | 314 |
315 if (m_headerContainer) { | 315 if (m_headerContainer) { |
316 m_headerContainer->detachFromParent(); | 316 m_headerContainer->detachFromParent(); |
317 m_headerContainer = 0; | 317 m_headerContainer = nullptr; |
318 } | 318 } |
319 } | 319 } |
320 | 320 |
321 void AXTable::addChildren() | 321 void AXTable::addChildren() |
322 { | 322 { |
323 if (!isAXTable()) { | 323 if (!isAXTable()) { |
324 AXRenderObject::addChildren(); | 324 AXRenderObject::addChildren(); |
325 return; | 325 return; |
326 } | 326 } |
327 | 327 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 } | 542 } |
543 | 543 |
544 // try the standard | 544 // try the standard |
545 if (title.isEmpty()) | 545 if (title.isEmpty()) |
546 title = AXRenderObject::title(); | 546 title = AXRenderObject::title(); |
547 | 547 |
548 return title; | 548 return title; |
549 } | 549 } |
550 | 550 |
551 } // namespace WebCore | 551 } // namespace WebCore |
OLD | NEW |