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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 } | 529 } |
530 | 530 |
531 bool WebAXObject::isMultiline() const | 531 bool WebAXObject::isMultiline() const |
532 { | 532 { |
533 if (isDetached()) | 533 if (isDetached()) |
534 return false; | 534 return false; |
535 | 535 |
536 return m_private->isMultiline(); | 536 return m_private->isMultiline(); |
537 } | 537 } |
538 | 538 |
| 539 int WebAXObject::posInSet() const |
| 540 { |
| 541 if (isDetached()) |
| 542 return 0; |
| 543 |
| 544 return m_private->posInSet(); |
| 545 } |
| 546 |
| 547 int WebAXObject::setSize() const |
| 548 { |
| 549 if (isDetached()) |
| 550 return 0; |
| 551 |
| 552 return m_private->setSize(); |
| 553 } |
| 554 |
539 bool WebAXObject::isInLiveRegion() const | 555 bool WebAXObject::isInLiveRegion() const |
540 { | 556 { |
541 if (isDetached()) | 557 if (isDetached()) |
542 return false; | 558 return false; |
543 | 559 |
544 return 0 != m_private->liveRegionRoot(); | 560 return 0 != m_private->liveRegionRoot(); |
545 } | 561 } |
546 | 562 |
547 bool WebAXObject::liveRegionAtomic() const | 563 bool WebAXObject::liveRegionAtomic() const |
548 { | 564 { |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 m_private = object; | 1357 m_private = object; |
1342 return *this; | 1358 return *this; |
1343 } | 1359 } |
1344 | 1360 |
1345 WebAXObject::operator WTF::PassRefPtr<AXObject>() const | 1361 WebAXObject::operator WTF::PassRefPtr<AXObject>() const |
1346 { | 1362 { |
1347 return m_private.get(); | 1363 return m_private.get(); |
1348 } | 1364 } |
1349 | 1365 |
1350 } // namespace blink | 1366 } // namespace blink |
OLD | NEW |