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

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

Issue 1996873002: AXObject is not copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more accessibility classes Created 4 years, 7 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 28 matching lines...) Expand all
39 class AXObjectCacheImpl; 39 class AXObjectCacheImpl;
40 class AXSVGRoot; 40 class AXSVGRoot;
41 class Element; 41 class Element;
42 class FrameView; 42 class FrameView;
43 class HTMLAreaElement; 43 class HTMLAreaElement;
44 class IntPoint; 44 class IntPoint;
45 class Node; 45 class Node;
46 class Widget; 46 class Widget;
47 47
48 class MODULES_EXPORT AXLayoutObject : public AXNodeObject { 48 class MODULES_EXPORT AXLayoutObject : public AXNodeObject {
49 WTF_MAKE_NONCOPYABLE(AXLayoutObject);
50
49 protected: 51 protected:
50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&); 52 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&);
51 53
52 public: 54 public:
53 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); 55 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&);
54 ~AXLayoutObject() override; 56 ~AXLayoutObject() override;
55 57
56 // Public, overridden from AXObject. 58 // Public, overridden from AXObject.
57 LayoutObject* getLayoutObject() const final { return m_layoutObject; } 59 LayoutObject* getLayoutObject() const final { return m_layoutObject; }
58 LayoutRect elementRect() const override; 60 LayoutRect elementRect() const override;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 AXRange textControlSelection() const; 217 AXRange textControlSelection() const;
216 int indexForVisiblePosition(const VisiblePosition&) const; 218 int indexForVisiblePosition(const VisiblePosition&) const;
217 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; 219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const;
218 }; 220 };
219 221
220 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
221 223
222 } // namespace blink 224 } // namespace blink
223 225
224 #endif // AXLayoutObject_h 226 #endif // AXLayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698