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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 #include "platform/text/PlatformLocale.h" | 64 #include "platform/text/PlatformLocale.h" |
65 #include "wtf/text/StringBuilder.h" | 65 #include "wtf/text/StringBuilder.h" |
66 | 66 |
67 namespace blink { | 67 namespace blink { |
68 | 68 |
69 using namespace HTMLNames; | 69 using namespace HTMLNames; |
70 | 70 |
71 AXNodeObject::AXNodeObject(Node* node, AXObjectCacheImpl& axObjectCache) | 71 AXNodeObject::AXNodeObject(Node* node, AXObjectCacheImpl& axObjectCache) |
72 : AXObject(axObjectCache), | 72 : AXObject(axObjectCache), |
73 m_ariaRole(UnknownRole), | 73 m_ariaRole(UnknownRole), |
74 m_childrenDirty(false) | 74 m_childrenDirty(false), |
75 #if ENABLE(ASSERT) | 75 #if ENABLE(ASSERT) |
76 , | 76 m_initialized(false), |
77 m_initialized(false) | |
78 #endif | 77 #endif |
79 , | |
80 m_node(node) { | 78 m_node(node) { |
81 } | 79 } |
82 | 80 |
83 AXNodeObject* AXNodeObject::create(Node* node, | 81 AXNodeObject* AXNodeObject::create(Node* node, |
84 AXObjectCacheImpl& axObjectCache) { | 82 AXObjectCacheImpl& axObjectCache) { |
85 return new AXNodeObject(node, axObjectCache); | 83 return new AXNodeObject(node, axObjectCache); |
86 } | 84 } |
87 | 85 |
88 AXNodeObject::~AXNodeObject() { | 86 AXNodeObject::~AXNodeObject() { |
89 ASSERT(!m_node); | 87 ASSERT(!m_node); |
(...skipping 2814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2904 } | 2902 } |
2905 return placeholder; | 2903 return placeholder; |
2906 } | 2904 } |
2907 | 2905 |
2908 DEFINE_TRACE(AXNodeObject) { | 2906 DEFINE_TRACE(AXNodeObject) { |
2909 visitor->trace(m_node); | 2907 visitor->trace(m_node); |
2910 AXObject::trace(visitor); | 2908 AXObject::trace(visitor); |
2911 } | 2909 } |
2912 | 2910 |
2913 } // namespace blink | 2911 } // namespace blink |
OLD | NEW |