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

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: Fixed another skia dependency Created 4 years, 10 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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 const AtomicString& containerLiveRegionRelevant() const; 786 const AtomicString& containerLiveRegionRelevant() const;
785 bool containerLiveRegionAtomic() const; 787 bool containerLiveRegionAtomic() const;
786 bool containerLiveRegionBusy() const; 788 bool containerLiveRegionBusy() const;
787 789
788 // Location and click point in frame-relative coordinates. 790 // Location and click point in frame-relative coordinates.
789 virtual LayoutRect elementRect() const { return m_explicitElementRect; } 791 virtual LayoutRect elementRect() const { return m_explicitElementRect; }
790 void setElementRect(LayoutRect r) { m_explicitElementRect = r; } 792 void setElementRect(LayoutRect r) { m_explicitElementRect = r; }
791 virtual void markCachedElementRectDirty() const; 793 virtual void markCachedElementRectDirty() const;
792 virtual IntPoint clickPoint(); 794 virtual IntPoint clickPoint();
793 795
796 // Transform relative to the local frame root.
797 virtual SkMatrix44 localFrameRootTransform() const;
798
794 // Hit testing. 799 // Hit testing.
795 // Called on the root AX object to return the deepest available element. 800 // Called on the root AX object to return the deepest available element.
796 virtual AXObject* accessibilityHitTest(const IntPoint&) const { return 0; } 801 virtual AXObject* accessibilityHitTest(const IntPoint&) const { return 0; }
797 // Called on the AX object after the layout tree determines which is the rig ht AXLayoutObject. 802 // Called on the AX object after the layout tree determines which is the rig ht AXLayoutObject.
798 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const; 803 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const;
799 804
800 // High-level accessibility tree access. Other modules should only use these functions. 805 // High-level accessibility tree access. Other modules should only use these functions.
801 const AXObjectVector& children(); 806 const AXObjectVector& children();
802 AXObject* parentObject() const; 807 AXObject* parentObject() const;
803 AXObject* parentObjectIfExists() const; 808 AXObject* parentObjectIfExists() const;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 953 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
949 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 954 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
950 955
951 } // namespace blink 956 } // namespace blink
952 957
953 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 958 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 959 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 960 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
956 961
957 #endif // AXObject_h 962 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698