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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 if (LayoutTestSupport::isRunningLayoutTest()) | 178 if (LayoutTestSupport::isRunningLayoutTest()) |
179 return; | 179 return; |
180 setAttribute(tabindexAttr, "0"); | 180 setAttribute(tabindexAttr, "0"); |
181 setAttribute(aria_haspopupAttr, "true"); | 181 setAttribute(aria_haspopupAttr, "true"); |
182 setAttribute(roleAttr, "button"); | 182 setAttribute(roleAttr, "button"); |
183 } | 183 } |
184 | 184 |
185 DEFINE_TRACE(PickerIndicatorElement) | 185 DEFINE_TRACE(PickerIndicatorElement) |
186 { | 186 { |
187 visitor->trace(m_pickerIndicatorOwner); | 187 visitor->trace(m_pickerIndicatorOwner); |
| 188 visitor->trace(m_chooser); |
188 HTMLDivElement::trace(visitor); | 189 HTMLDivElement::trace(visitor); |
189 } | 190 } |
190 | 191 |
191 } | 192 } |
192 | 193 |
193 #endif | 194 #endif |
OLD | NEW |