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

Side by Side Diff: Source/modules/accessibility/AXLayoutObject.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 class AXLayoutObject : public AXNodeObject { 48 class AXLayoutObject : public AXNodeObject {
49 protected: 49 protected:
50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl*); 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl*);
51 51
52 public: 52 public:
53 static PassRefPtr<AXLayoutObject> create(LayoutObject*, AXObjectCacheImpl*); 53 static PassRefPtr<AXLayoutObject> create(LayoutObject*, AXObjectCacheImpl*);
54 virtual ~AXLayoutObject(); 54 virtual ~AXLayoutObject();
55 55
56 // Public, overridden from AXObject. 56 // Public, overridden from AXObject.
57 virtual LayoutObject* renderer() const override final { return m_layoutObjec t; } 57 virtual LayoutObject* layoutObject() const override final { return m_layoutO bject; }
58 virtual LayoutRect elementRect() const override; 58 virtual LayoutRect elementRect() const override;
59 59
60 void setLayoutObject(LayoutObject*); 60 void setLayoutObject(LayoutObject*);
61 LayoutBoxModelObject* layoutBoxModelObject() const; 61 LayoutBoxModelObject* layoutBoxModelObject() const;
62 Document* topDocument() const; 62 Document* topDocument() const;
63 bool shouldNotifyActiveDescendant() const; 63 bool shouldNotifyActiveDescendant() const;
64 virtual ScrollableArea* getScrollableAreaIfScrollable() const override final ; 64 virtual ScrollableArea* getScrollableAreaIfScrollable() const override final ;
65 virtual AccessibilityRole determineAccessibilityRole() override; 65 virtual AccessibilityRole determineAccessibilityRole() override;
66 void checkCachedElementRect() const; 66 void checkCachedElementRect() const;
67 void updateCachedElementRect() const; 67 void updateCachedElementRect() const;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 VisibleSelection selection() const; 223 VisibleSelection selection() const;
224 int indexForVisiblePosition(const VisiblePosition&) const; 224 int indexForVisiblePosition(const VisiblePosition&) const;
225 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const; 225 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const;
226 }; 226 };
227 227
228 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 228 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
229 229
230 } // namespace blink 230 } // namespace blink
231 231
232 #endif // AXLayoutObject_h 232 #endif // AXLayoutObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXImageMapLink.cpp ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698