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

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

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class IntPoint; 44 class IntPoint;
45 class Node; 45 class Node;
46 class VisibleSelection; 46 class VisibleSelection;
47 class Widget; 47 class Widget;
48 48
49 class MODULES_EXPORT AXLayoutObject : public AXNodeObject { 49 class MODULES_EXPORT AXLayoutObject : public AXNodeObject {
50 protected: 50 protected:
51 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&); 51 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&);
52 52
53 public: 53 public:
54 static PassRefPtr<AXLayoutObject> create(LayoutObject*, AXObjectCacheImpl&); 54 static PassRefPtrWillBeRawPtr<AXLayoutObject> create(LayoutObject*, AXObject CacheImpl&);
55 virtual ~AXLayoutObject(); 55 virtual ~AXLayoutObject();
56 56
57 // Public, overridden from AXObject. 57 // Public, overridden from AXObject.
58 virtual LayoutObject* layoutObject() const override final { return m_layoutO bject; } 58 virtual LayoutObject* layoutObject() const override final { return m_layoutO bject; }
59 virtual LayoutRect elementRect() const override; 59 virtual LayoutRect elementRect() const override;
60 60
61 void setLayoutObject(LayoutObject*); 61 void setLayoutObject(LayoutObject*);
62 LayoutBoxModelObject* layoutBoxModelObject() const; 62 LayoutBoxModelObject* layoutBoxModelObject() const;
63 Document* topDocument() const; 63 Document* topDocument() const;
64 bool shouldNotifyActiveDescendant() const; 64 bool shouldNotifyActiveDescendant() const;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 LayoutRect computeElementRect() const; 227 LayoutRect computeElementRect() const;
228 VisibleSelection selection() const; 228 VisibleSelection selection() const;
229 int indexForVisiblePosition(const VisiblePosition&) const; 229 int indexForVisiblePosition(const VisiblePosition&) const;
230 }; 230 };
231 231
232 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 232 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
233 233
234 } // namespace blink 234 } // namespace blink
235 235
236 #endif // AXLayoutObject_h 236 #endif // AXLayoutObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXInlineTextBox.cpp ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698