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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 virtual void detachFromParent() { m_parent = 0; } 556 virtual void detachFromParent() { m_parent = 0; }
557 virtual AXObject* observableObject() const { return 0; } 557 virtual AXObject* observableObject() const { return 0; }
558 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } 558 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; }
559 559
560 // Properties of the object's owning document or page. 560 // Properties of the object's owning document or page.
561 virtual double estimatedLoadingProgress() const { return 0; } 561 virtual double estimatedLoadingProgress() const { return 0; }
562 AXObject* focusedUIElement() const; 562 AXObject* focusedUIElement() const;
563 563
564 // DOM and layout tree access. 564 // DOM and layout tree access.
565 virtual Node* node() const { return 0; } 565 virtual Node* node() const { return 0; }
566 virtual LayoutObject* renderer() const { return 0; } 566 virtual LayoutObject* layoutObject() const { return 0; }
567 virtual Document* document() const; 567 virtual Document* document() const;
568 virtual FrameView* documentFrameView() const; 568 virtual FrameView* documentFrameView() const;
569 virtual Element* anchorElement() const { return 0; } 569 virtual Element* anchorElement() const { return 0; }
570 virtual Element* actionElement() const { return 0; } 570 virtual Element* actionElement() const { return 0; }
571 virtual Widget* widgetForAttachmentView() const { return 0; } 571 virtual Widget* widgetForAttachmentView() const { return 0; }
572 String language() const; 572 String language() const;
573 bool hasAttribute(const QualifiedName&) const; 573 bool hasAttribute(const QualifiedName&) const;
574 const AtomicString& getAttribute(const QualifiedName&) const; 574 const AtomicString& getAttribute(const QualifiedName&) const;
575 575
576 // Selected text. 576 // Selected text.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 static bool includesARIAWidgetRole(const String&); 658 static bool includesARIAWidgetRole(const String&);
659 static bool hasInteractiveARIAAttribute(const Element&); 659 static bool hasInteractiveARIAAttribute(const Element&);
660 }; 660 };
661 661
662 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 662 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
663 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 663 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
664 664
665 } // namespace blink 665 } // namespace blink
666 666
667 #endif // AXObject_h 667 #endif // AXObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/modules/accessibility/AXObjectCacheImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698