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

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

Issue 1014573010: Get rid of postToElement argument for accessibility notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@postnotification_1
Patch Set: Rebaseline test Created 5 years, 8 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 virtual AXObject* nextSibling() const { return 0; } 550 virtual AXObject* nextSibling() const { return 0; }
551 AXObject* firstAccessibleObjectFromNode(const Node*); 551 AXObject* firstAccessibleObjectFromNode(const Node*);
552 virtual void addChildren() { } 552 virtual void addChildren() { }
553 virtual bool canHaveChildren() const { return true; } 553 virtual bool canHaveChildren() const { return true; }
554 bool hasChildren() const { return m_haveChildren; } 554 bool hasChildren() const { return m_haveChildren; }
555 virtual void updateChildrenIfNecessary(); 555 virtual void updateChildrenIfNecessary();
556 virtual bool needsToUpdateChildren() const { return false; } 556 virtual bool needsToUpdateChildren() const { return false; }
557 virtual void setNeedsToUpdateChildren() { } 557 virtual void setNeedsToUpdateChildren() { }
558 virtual void clearChildren(); 558 virtual void clearChildren();
559 virtual void detachFromParent() { m_parent = 0; } 559 virtual void detachFromParent() { m_parent = 0; }
560 virtual AXObject* observableObject() const { return 0; }
561 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } 560 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; }
562 561
563 // Properties of the object's owning document or page. 562 // Properties of the object's owning document or page.
564 virtual double estimatedLoadingProgress() const { return 0; } 563 virtual double estimatedLoadingProgress() const { return 0; }
565 AXObject* focusedUIElement() const; 564 AXObject* focusedUIElement() const;
566 565
567 // DOM and layout tree access. 566 // DOM and layout tree access.
568 virtual Node* node() const { return 0; } 567 virtual Node* node() const { return 0; }
569 virtual LayoutObject* layoutObject() const { return 0; } 568 virtual LayoutObject* layoutObject() const { return 0; }
570 virtual Document* document() const; 569 virtual Document* document() const;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 static bool includesARIAWidgetRole(const String&); 660 static bool includesARIAWidgetRole(const String&);
662 static bool hasInteractiveARIAAttribute(const Element&); 661 static bool hasInteractiveARIAAttribute(const Element&);
663 }; 662 };
664 663
665 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 664 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
666 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 665 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
667 666
668 } // namespace blink 667 } // namespace blink
669 668
670 #endif // AXObject_h 669 #endif // AXObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/modules/accessibility/AXObjectCacheImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698