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

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: Fixed content_browsertests. Created 4 years, 5 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 } 593 }
594 594
595 WebString WebAXObject::liveRegionStatus() const 595 WebString WebAXObject::liveRegionStatus() const
596 { 596 {
597 if (isDetached()) 597 if (isDetached())
598 return WebString(); 598 return WebString();
599 599
600 return m_private->liveRegionStatus(); 600 return m_private->liveRegionStatus();
601 } 601 }
602 602
603 WebAXObject WebAXObject::liveRegionRoot() const
604 {
605 if (isDetached())
606 return WebAXObject();
607
608 AXObject* liveRegionRoot = m_private->liveRegionRoot();
609 if (liveRegionRoot)
610 return WebAXObject(liveRegionRoot);
611 return WebAXObject();
612 }
613
603 bool WebAXObject::containerLiveRegionAtomic() const 614 bool WebAXObject::containerLiveRegionAtomic() const
604 { 615 {
605 if (isDetached()) 616 if (isDetached())
606 return false; 617 return false;
607 618
608 return m_private->containerLiveRegionAtomic(); 619 return m_private->containerLiveRegionAtomic();
609 } 620 }
610 621
611 bool WebAXObject::containerLiveRegionBusy() const 622 bool WebAXObject::containerLiveRegionBusy() const
612 { 623 {
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 m_private = object; 1598 m_private = object;
1588 return *this; 1599 return *this;
1589 } 1600 }
1590 1601
1591 WebAXObject::operator AXObject*() const 1602 WebAXObject::operator AXObject*() const
1592 { 1603 {
1593 return m_private.get(); 1604 return m_private.get();
1594 } 1605 }
1595 1606
1596 } // namespace blink 1607 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.cpp ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698