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

Side by Side Diff: Source/core/dom/Node.h

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Null HTMLCollection handling Created 6 years, 10 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) 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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
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 29 matching lines...) Expand all
40 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
41 #include "wtf/ListHashSet.h" 41 #include "wtf/ListHashSet.h"
42 #include "wtf/text/AtomicString.h" 42 #include "wtf/text/AtomicString.h"
43 43
44 // This needs to be here because Document.h also depends on it. 44 // This needs to be here because Document.h also depends on it.
45 #define DUMP_NODE_STATISTICS 0 45 #define DUMP_NODE_STATISTICS 0
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 class Attribute; 49 class Attribute;
50 class ClassNodeList; 50 class ClassCollection;
51 class ContainerNode; 51 class ContainerNode;
52 class DOMSettableTokenList; 52 class DOMSettableTokenList;
53 class Document; 53 class Document;
54 class Element; 54 class Element;
55 class Event; 55 class Event;
56 class EventDispatchMediator; 56 class EventDispatchMediator;
57 class EventListener; 57 class EventListener;
58 class ExceptionState; 58 class ExceptionState;
59 class FloatPoint; 59 class FloatPoint;
60 class Frame; 60 class Frame;
(...skipping 12 matching lines...) Expand all
73 class PlatformMouseEvent; 73 class PlatformMouseEvent;
74 class PlatformWheelEvent; 74 class PlatformWheelEvent;
75 class QualifiedName; 75 class QualifiedName;
76 class RadioNodeList; 76 class RadioNodeList;
77 class RegisteredEventListener; 77 class RegisteredEventListener;
78 class RenderBox; 78 class RenderBox;
79 class RenderBoxModelObject; 79 class RenderBoxModelObject;
80 class RenderObject; 80 class RenderObject;
81 class RenderStyle; 81 class RenderStyle;
82 class ShadowRoot; 82 class ShadowRoot;
83 class TagNodeList; 83 class TagCollection;
84 class Text; 84 class Text;
85 class TouchEvent; 85 class TouchEvent;
86 86
87 const int nodeStyleChangeShift = 14; 87 const int nodeStyleChangeShift = 14;
88 88
89 enum StyleChangeType { 89 enum StyleChangeType {
90 NoStyleChange = 0, 90 NoStyleChange = 0,
91 LocalStyleChange = 1 << nodeStyleChangeShift, 91 LocalStyleChange = 1 << nodeStyleChangeShift,
92 SubtreeStyleChange = 2 << nodeStyleChangeShift, 92 SubtreeStyleChange = 2 << nodeStyleChangeShift,
93 NeedsReattachStyleChange = 3 << nodeStyleChangeShift, 93 NeedsReattachStyleChange = 3 << nodeStyleChangeShift,
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 902
903 } // namespace WebCore 903 } // namespace WebCore
904 904
905 #ifndef NDEBUG 905 #ifndef NDEBUG
906 // Outside the WebCore namespace for ease of invocation from gdb. 906 // Outside the WebCore namespace for ease of invocation from gdb.
907 void showTree(const WebCore::Node*); 907 void showTree(const WebCore::Node*);
908 void showNodePath(const WebCore::Node*); 908 void showNodePath(const WebCore::Node*);
909 #endif 909 #endif
910 910
911 #endif 911 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698