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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 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
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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 virtual bool needsToUpdateChildren() const { return false; } 817 virtual bool needsToUpdateChildren() const { return false; }
818 virtual void setNeedsToUpdateChildren() { } 818 virtual void setNeedsToUpdateChildren() { }
819 virtual void clearChildren(); 819 virtual void clearChildren();
820 virtual void detachFromParent() { m_parent = 0; } 820 virtual void detachFromParent() { m_parent = 0; }
821 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } 821 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; }
822 822
823 // Properties of the object's owning document or page. 823 // Properties of the object's owning document or page.
824 virtual double estimatedLoadingProgress() const { return 0; } 824 virtual double estimatedLoadingProgress() const { return 0; }
825 825
826 // DOM and layout tree access. 826 // DOM and layout tree access.
827 virtual Node* node() const { return 0; } 827 virtual Node* getNode() const { return 0; }
828 virtual LayoutObject* layoutObject() const { return 0; } 828 virtual LayoutObject* getLayoutObject() const { return 0; }
829 virtual Document* document() const; 829 virtual Document* getDocument() const;
830 virtual FrameView* documentFrameView() const; 830 virtual FrameView* documentFrameView() const;
831 virtual Element* anchorElement() const { return 0; } 831 virtual Element* anchorElement() const { return 0; }
832 virtual Element* actionElement() const { return 0; } 832 virtual Element* actionElement() const { return 0; }
833 String language() const; 833 String language() const;
834 bool hasAttribute(const QualifiedName&) const; 834 bool hasAttribute(const QualifiedName&) const;
835 const AtomicString& getAttribute(const QualifiedName&) const; 835 const AtomicString& getAttribute(const QualifiedName&) const;
836 836
837 // Methods that retrieve or manipulate the current selection. 837 // Methods that retrieve or manipulate the current selection.
838 838
839 // Get the current selection from anywhere in the accessibility tree. 839 // Get the current selection from anywhere in the accessibility tree.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
951 951
952 } // namespace blink 952 } // namespace blink
953 953
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
957 957
958 #endif // AXObject_h 958 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698