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

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2796553002: Revert of Initial skeleton of Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 8 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 24 matching lines...) Expand all
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/ElementData.h" 36 #include "core/dom/ElementData.h"
37 #include "core/dom/SpaceSplitString.h" 37 #include "core/dom/SpaceSplitString.h"
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39 #include "platform/scroll/ScrollTypes.h" 39 #include "platform/scroll/ScrollTypes.h"
40 #include "public/platform/WebFocusType.h" 40 #include "public/platform/WebFocusType.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class ElementAnimations; 44 class ElementAnimations;
45 class AccessibleNode;
46 class Attr; 45 class Attr;
47 class Attribute; 46 class Attribute;
48 class CSSStyleDeclaration; 47 class CSSStyleDeclaration;
49 class ClientRect; 48 class ClientRect;
50 class ClientRectList; 49 class ClientRectList;
51 class CompositorMutation; 50 class CompositorMutation;
52 class CustomElementDefinition; 51 class CustomElementDefinition;
53 class DOMStringMap; 52 class DOMStringMap;
54 class DOMTokenList; 53 class DOMTokenList;
55 class ElementRareData; 54 class ElementRareData;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 IntRect visibleBoundsInVisualViewport() const; 248 IntRect visibleBoundsInVisualViewport() const;
250 249
251 ClientRectList* getClientRects(); 250 ClientRectList* getClientRects();
252 ClientRect* getBoundingClientRect(); 251 ClientRect* getBoundingClientRect();
253 252
254 bool hasNonEmptyLayoutSize() const; 253 bool hasNonEmptyLayoutSize() const;
255 254
256 const AtomicString& computedRole(); 255 const AtomicString& computedRole();
257 String computedName(); 256 String computedName();
258 257
259 AccessibleNode* existingAccessibleNode() const;
260 AccessibleNode* accessibleNode();
261
262 void didMoveToNewDocument(Document&) override; 258 void didMoveToNewDocument(Document&) override;
263 259
264 void removeAttribute(const AtomicString& name); 260 void removeAttribute(const AtomicString& name);
265 void removeAttributeNS(const AtomicString& namespaceURI, 261 void removeAttributeNS(const AtomicString& namespaceURI,
266 const AtomicString& localName); 262 const AtomicString& localName);
267 263
268 Attr* detachAttribute(size_t index); 264 Attr* detachAttribute(size_t index);
269 265
270 Attr* getAttributeNode(const AtomicString& name); 266 Attr* getAttributeNode(const AtomicString& name);
271 Attr* getAttributeNodeNS(const AtomicString& namespaceURI, 267 Attr* getAttributeNodeNS(const AtomicString& namespaceURI,
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1215 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1220 static T* create(const QualifiedName&, Document&) 1216 static T* create(const QualifiedName&, Document&)
1221 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1217 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1222 T* T::create(const QualifiedName& tagName, Document& document) { \ 1218 T* T::create(const QualifiedName& tagName, Document& document) { \
1223 return new T(tagName, document); \ 1219 return new T(tagName, document); \
1224 } 1220 }
1225 1221
1226 } // namespace blink 1222 } // namespace blink
1227 1223
1228 #endif // Element_h 1224 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698