| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, Google 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 | 423 |
| 424 if (node()->nodeName() == "math") | 424 if (node()->nodeName() == "math") |
| 425 return MathRole; | 425 return MathRole; |
| 426 | 426 |
| 427 if (node()->hasTagName(rpTag) || node()->hasTagName(rtTag)) | 427 if (node()->hasTagName(rpTag) || node()->hasTagName(rtTag)) |
| 428 return AnnotationRole; | 428 return AnnotationRole; |
| 429 | 429 |
| 430 if (isHTMLFormElement(*node())) | 430 if (isHTMLFormElement(*node())) |
| 431 return FormRole; | 431 return FormRole; |
| 432 | 432 |
| 433 if (node()->hasTagName(abbrTag)) |
| 434 return AbbrRole; |
| 435 |
| 433 if (node()->hasTagName(articleTag)) | 436 if (node()->hasTagName(articleTag)) |
| 434 return ArticleRole; | 437 return ArticleRole; |
| 435 | 438 |
| 436 if (node()->hasTagName(mainTag)) | 439 if (node()->hasTagName(mainTag)) |
| 437 return MainRole; | 440 return MainRole; |
| 438 | 441 |
| 439 if (node()->hasTagName(markTag)) | 442 if (node()->hasTagName(markTag)) |
| 440 return MarkRole; | 443 return MarkRole; |
| 441 | 444 |
| 442 if (node()->hasTagName(navTag)) | 445 if (node()->hasTagName(navTag)) |
| (...skipping 2295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2738 return placeholder; | 2741 return placeholder; |
| 2739 } | 2742 } |
| 2740 | 2743 |
| 2741 DEFINE_TRACE(AXNodeObject) | 2744 DEFINE_TRACE(AXNodeObject) |
| 2742 { | 2745 { |
| 2743 visitor->trace(m_node); | 2746 visitor->trace(m_node); |
| 2744 AXObject::trace(visitor); | 2747 AXObject::trace(visitor); |
| 2745 } | 2748 } |
| 2746 | 2749 |
| 2747 } // namespace blin | 2750 } // namespace blin |
| OLD | NEW |