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

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

Issue 2436563003: Expose setSequentialFocusNavigationStartingPoint to accessibility. (Closed)
Patch Set: Created 4 years, 2 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 // needed. 956 // needed.
957 void scrollToMakeVisible() const; 957 void scrollToMakeVisible() const;
958 // Same, but if the whole object can't be made visible, try for this subrect, 958 // Same, but if the whole object can't be made visible, try for this subrect,
959 // in local coordinates. 959 // in local coordinates.
960 void scrollToMakeVisibleWithSubFocus(const IntRect&) const; 960 void scrollToMakeVisibleWithSubFocus(const IntRect&) const;
961 // Scroll this object to a given point in global coordinates of the top-level 961 // Scroll this object to a given point in global coordinates of the top-level
962 // window. 962 // window.
963 void scrollToGlobalPoint(const IntPoint&) const; 963 void scrollToGlobalPoint(const IntPoint&) const;
964 virtual void setFocused(bool) {} 964 virtual void setFocused(bool) {}
965 virtual void setSelected(bool) {} 965 virtual void setSelected(bool) {}
966 virtual void setSequentialFocusNavigationStartingPoint();
966 virtual void setValue(const String&) {} 967 virtual void setValue(const String&) {}
967 virtual void setValue(float) {} 968 virtual void setValue(float) {}
968 969
969 // Notifications that this object may have changed. 970 // Notifications that this object may have changed.
970 virtual void childrenChanged() {} 971 virtual void childrenChanged() {}
971 virtual void handleActiveDescendantChanged() {} 972 virtual void handleActiveDescendantChanged() {}
972 virtual void handleAriaExpandedChanged() {} 973 virtual void handleAriaExpandedChanged() {}
973 void notifyIfIgnoredValueChanged(); 974 void notifyIfIgnoredValueChanged();
974 virtual void selectionChanged(); 975 virtual void selectionChanged();
975 virtual void textChanged() {} 976 virtual void textChanged() {}
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 static unsigned s_numberOfLiveAXObjects; 1066 static unsigned s_numberOfLiveAXObjects;
1066 }; 1067 };
1067 1068
1068 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 1069 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
1069 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ 1070 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \
1070 object.predicate) 1071 object.predicate)
1071 1072
1072 } // namespace blink 1073 } // namespace blink
1073 1074
1074 #endif // AXObject_h 1075 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698