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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 2169273004: Switch all LayoutTests to use new accessibility relative bounding box API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix absolute bounds in AXInlineTextBox::elementRect Created 4 years, 4 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) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 372
373 } // namespace 373 } // namespace
374 374
375 unsigned AXObject::s_numberOfLiveAXObjects = 0; 375 unsigned AXObject::s_numberOfLiveAXObjects = 0;
376 376
377 AXObject::AXObject(AXObjectCacheImpl& axObjectCache) 377 AXObject::AXObject(AXObjectCacheImpl& axObjectCache)
378 : m_id(0) 378 : m_id(0)
379 , m_haveChildren(false) 379 , m_haveChildren(false)
380 , m_role(UnknownRole) 380 , m_role(UnknownRole)
381 , m_lastKnownIsIgnoredValue(DefaultBehavior) 381 , m_lastKnownIsIgnoredValue(DefaultBehavior)
382 , m_explicitContainerID(0)
382 , m_parent(nullptr) 383 , m_parent(nullptr)
383 , m_lastModificationCount(-1) 384 , m_lastModificationCount(-1)
384 , m_cachedIsIgnored(false) 385 , m_cachedIsIgnored(false)
385 , m_cachedIsInertOrAriaHidden(false) 386 , m_cachedIsInertOrAriaHidden(false)
386 , m_cachedIsDescendantOfLeafNode(false) 387 , m_cachedIsDescendantOfLeafNode(false)
387 , m_cachedIsDescendantOfDisabledNode(false) 388 , m_cachedIsDescendantOfDisabledNode(false)
388 , m_cachedHasInheritedPresentationalRole(false) 389 , m_cachedHasInheritedPresentationalRole(false)
389 , m_cachedIsPresentationalChild(false) 390 , m_cachedIsPresentationalChild(false)
390 , m_cachedAncestorExposesActiveDescendant(false) 391 , m_cachedAncestorExposesActiveDescendant(false)
391 , m_cachedLiveRegionRoot(nullptr) 392 , m_cachedLiveRegionRoot(nullptr)
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 1750
1750 DEFINE_TRACE(AXObject) 1751 DEFINE_TRACE(AXObject)
1751 { 1752 {
1752 visitor->trace(m_children); 1753 visitor->trace(m_children);
1753 visitor->trace(m_parent); 1754 visitor->trace(m_parent);
1754 visitor->trace(m_cachedLiveRegionRoot); 1755 visitor->trace(m_cachedLiveRegionRoot);
1755 visitor->trace(m_axObjectCache); 1756 visitor->trace(m_axObjectCache);
1756 } 1757 }
1757 1758
1758 } // namespace blink 1759 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698