OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 } | 230 } |
231 | 231 |
232 WebString WebAXObject::ariaAutoComplete() const | 232 WebString WebAXObject::ariaAutoComplete() const |
233 { | 233 { |
234 if (isDetached()) | 234 if (isDetached()) |
235 return WebString(); | 235 return WebString(); |
236 | 236 |
237 return m_private->ariaAutoComplete(); | 237 return m_private->ariaAutoComplete(); |
238 } | 238 } |
239 | 239 |
| 240 WebString WebAXObject::placeholder() const |
| 241 { |
| 242 if (isDetached()) |
| 243 return WebString(); |
| 244 |
| 245 return WebString(m_private->placeholder()); |
| 246 } |
| 247 |
240 bool WebAXObject::isButtonStateMixed() const | 248 bool WebAXObject::isButtonStateMixed() const |
241 { | 249 { |
242 if (isDetached()) | 250 if (isDetached()) |
243 return false; | 251 return false; |
244 | 252 |
245 return m_private->checkboxOrRadioValue() == ButtonStateMixed; | 253 return m_private->checkboxOrRadioValue() == ButtonStateMixed; |
246 } | 254 } |
247 | 255 |
248 bool WebAXObject::isChecked() const | 256 bool WebAXObject::isChecked() const |
249 { | 257 { |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1263 m_private = object; | 1271 m_private = object; |
1264 return *this; | 1272 return *this; |
1265 } | 1273 } |
1266 | 1274 |
1267 WebAXObject::operator WTF::PassRefPtr<AXObject>() const | 1275 WebAXObject::operator WTF::PassRefPtr<AXObject>() const |
1268 { | 1276 { |
1269 return m_private.get(); | 1277 return m_private.get(); |
1270 } | 1278 } |
1271 | 1279 |
1272 } // namespace blink | 1280 } // namespace blink |
OLD | NEW |