Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2054393002: Implemented IAccessible2 reverse relations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 } 584 }
585 585
586 WebString WebAXObject::liveRegionStatus() const 586 WebString WebAXObject::liveRegionStatus() const
587 { 587 {
588 if (isDetached()) 588 if (isDetached())
589 return WebString(); 589 return WebString();
590 590
591 return m_private->liveRegionStatus(); 591 return m_private->liveRegionStatus();
592 } 592 }
593 593
594 WebAXObject WebAXObject::liveRegionRoot() const
595 {
596 if (isDetached())
597 return WebAXObject();
598
599 AXObject* liveRegionRoot = m_private->liveRegionRoot();
600 if (liveRegionRoot)
601 return WebAXObject(liveRegionRoot);
602 return WebAXObject();
603 }
604
594 bool WebAXObject::containerLiveRegionAtomic() const 605 bool WebAXObject::containerLiveRegionAtomic() const
595 { 606 {
596 if (isDetached()) 607 if (isDetached())
597 return false; 608 return false;
598 609
599 return m_private->containerLiveRegionAtomic(); 610 return m_private->containerLiveRegionAtomic();
600 } 611 }
601 612
602 bool WebAXObject::containerLiveRegionBusy() const 613 bool WebAXObject::containerLiveRegionBusy() const
603 { 614 {
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 m_private = object; 1573 m_private = object;
1563 return *this; 1574 return *this;
1564 } 1575 }
1565 1576
1566 WebAXObject::operator AXObject*() const 1577 WebAXObject::operator AXObject*() const
1567 { 1578 {
1568 return m_private.get(); 1579 return m_private.get();
1569 } 1580 }
1570 1581
1571 } // namespace blink 1582 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698