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

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

Issue 1713723002: Implement accessibility support for CSS-transformed iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 21 matching lines...) Expand all
32 32
33 #include "core/editing/VisiblePosition.h" 33 #include "core/editing/VisiblePosition.h"
34 #include "modules/ModulesExport.h" 34 #include "modules/ModulesExport.h"
35 #include "platform/geometry/FloatQuad.h" 35 #include "platform/geometry/FloatQuad.h"
36 #include "platform/geometry/LayoutRect.h" 36 #include "platform/geometry/LayoutRect.h"
37 #include "platform/graphics/Color.h" 37 #include "platform/graphics/Color.h"
38 #include "platform/inspector_protocol/TypeBuilder.h" 38 #include "platform/inspector_protocol/TypeBuilder.h"
39 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
40 #include "wtf/Vector.h" 40 #include "wtf/Vector.h"
41 41
42 class SkMatrix44;
43
42 namespace blink { 44 namespace blink {
43 45
44 class AXObject; 46 class AXObject;
45 class AXObjectCache; 47 class AXObjectCache;
46 class AXObjectCacheImpl; 48 class AXObjectCacheImpl;
47 class Element; 49 class Element;
48 class FrameView; 50 class FrameView;
49 class IntPoint; 51 class IntPoint;
50 class NameSource; 52 class NameSource;
51 class Node; 53 class Node;
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 const AtomicString& containerLiveRegionRelevant() const; 787 const AtomicString& containerLiveRegionRelevant() const;
786 bool containerLiveRegionAtomic() const; 788 bool containerLiveRegionAtomic() const;
787 bool containerLiveRegionBusy() const; 789 bool containerLiveRegionBusy() const;
788 790
789 // Location and click point in frame-relative coordinates. 791 // Location and click point in frame-relative coordinates.
790 virtual LayoutRect elementRect() const { return m_explicitElementRect; } 792 virtual LayoutRect elementRect() const { return m_explicitElementRect; }
791 void setElementRect(LayoutRect r) { m_explicitElementRect = r; } 793 void setElementRect(LayoutRect r) { m_explicitElementRect = r; }
792 virtual void markCachedElementRectDirty() const; 794 virtual void markCachedElementRectDirty() const;
793 virtual IntPoint clickPoint(); 795 virtual IntPoint clickPoint();
794 796
797 // Transform relative to the local frame root.
798 virtual SkMatrix44 localFrameRootTransform() const;
799
795 // Hit testing. 800 // Hit testing.
796 // Called on the root AX object to return the deepest available element. 801 // Called on the root AX object to return the deepest available element.
797 virtual AXObject* accessibilityHitTest(const IntPoint&) const { return 0; } 802 virtual AXObject* accessibilityHitTest(const IntPoint&) const { return 0; }
798 // Called on the AX object after the layout tree determines which is the rig ht AXLayoutObject. 803 // Called on the AX object after the layout tree determines which is the rig ht AXLayoutObject.
799 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const; 804 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const;
800 805
801 // High-level accessibility tree access. Other modules should only use these functions. 806 // High-level accessibility tree access. Other modules should only use these functions.
802 const AXObjectVector& children(); 807 const AXObjectVector& children();
803 AXObject* parentObject() const; 808 AXObject* parentObject() const;
804 AXObject* parentObjectIfExists() const; 809 AXObject* parentObjectIfExists() const;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 954 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 955 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
951 956
952 } // namespace blink 957 } // namespace blink
953 958
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 959 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 960 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 961 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
957 962
958 #endif // AXObject_h 963 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698