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

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

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final suggestions 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 bool hasChildren() const { return m_haveChildren; } 814 bool hasChildren() const { return m_haveChildren; }
815 virtual void updateChildrenIfNecessary(); 815 virtual void updateChildrenIfNecessary();
816 virtual bool needsToUpdateChildren() const { return false; } 816 virtual bool needsToUpdateChildren() const { return false; }
817 virtual void setNeedsToUpdateChildren() { } 817 virtual void setNeedsToUpdateChildren() { }
818 virtual void clearChildren(); 818 virtual void clearChildren();
819 virtual void detachFromParent() { m_parent = 0; } 819 virtual void detachFromParent() { m_parent = 0; }
820 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } 820 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; }
821 821
822 // Properties of the object's owning document or page. 822 // Properties of the object's owning document or page.
823 virtual double estimatedLoadingProgress() const { return 0; } 823 virtual double estimatedLoadingProgress() const { return 0; }
824 AXObject* focusedUIElement() const;
825 824
826 // DOM and layout tree access. 825 // DOM and layout tree access.
827 virtual Node* node() const { return 0; } 826 virtual Node* node() const { return 0; }
828 virtual LayoutObject* layoutObject() const { return 0; } 827 virtual LayoutObject* layoutObject() const { return 0; }
829 virtual Document* document() const; 828 virtual Document* document() const;
830 virtual FrameView* documentFrameView() const; 829 virtual FrameView* documentFrameView() const;
831 virtual Element* anchorElement() const { return 0; } 830 virtual Element* anchorElement() const { return 0; }
832 virtual Element* actionElement() const { return 0; } 831 virtual Element* actionElement() const { return 0; }
833 String language() const; 832 String language() const;
834 bool hasAttribute(const QualifiedName&) const; 833 bool hasAttribute(const QualifiedName&) const;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 948 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 949 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
951 950
952 } // namespace blink 951 } // namespace blink
953 952
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 953 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
957 956
958 #endif // AXObject_h 957 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698