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

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

Issue 2840163002: DOM: NodeIterator.filter and TreeWalker.filter should return values which were specified to createN… (Closed)
Patch Set: Move ToV8() to ToV8ForCore.h, etc. Created 3 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) 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 class LayoutPoint; 128 class LayoutPoint;
129 class LayoutView; 129 class LayoutView;
130 class LayoutViewItem; 130 class LayoutViewItem;
131 class LiveNodeListBase; 131 class LiveNodeListBase;
132 class LocalDOMWindow; 132 class LocalDOMWindow;
133 class Locale; 133 class Locale;
134 class LocalFrame; 134 class LocalFrame;
135 class Location; 135 class Location;
136 class MediaQueryListListener; 136 class MediaQueryListListener;
137 class MediaQueryMatcher; 137 class MediaQueryMatcher;
138 class NodeFilter;
139 class NodeIterator; 138 class NodeIterator;
140 class NthIndexCache; 139 class NthIndexCache;
141 class OriginAccessEntry; 140 class OriginAccessEntry;
142 class Page; 141 class Page;
143 class ProcessingInstruction; 142 class ProcessingInstruction;
144 class PropertyRegistry; 143 class PropertyRegistry;
145 class QualifiedName; 144 class QualifiedName;
146 class Range; 145 class Range;
147 class ResizeObserverController; 146 class ResizeObserverController;
148 class ResourceFetcher; 147 class ResourceFetcher;
(...skipping 13 matching lines...) Expand all
162 class SnapCoordinator; 161 class SnapCoordinator;
163 class StringOrDictionary; 162 class StringOrDictionary;
164 class StyleEngine; 163 class StyleEngine;
165 class StyleResolver; 164 class StyleResolver;
166 class StyleSheetList; 165 class StyleSheetList;
167 class TextAutosizer; 166 class TextAutosizer;
168 class Touch; 167 class Touch;
169 class TouchList; 168 class TouchList;
170 class TransformSource; 169 class TransformSource;
171 class TreeWalker; 170 class TreeWalker;
171 class V8NodeFilterCondition;
172 class VisitedLinkState; 172 class VisitedLinkState;
173 class WebMouseEvent; 173 class WebMouseEvent;
174 struct AnnotatedRegionValue; 174 struct AnnotatedRegionValue;
175 struct FocusParams; 175 struct FocusParams;
176 struct IconURL; 176 struct IconURL;
177 177
178 using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>; 178 using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>;
179 using ExceptionCode = int; 179 using ExceptionCode = int;
180 180
181 enum NodeListInvalidationType { 181 enum NodeListInvalidationType {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 LocalFrame* GetFrame() const { return frame_; } // can be null 477 LocalFrame* GetFrame() const { return frame_; } // can be null
478 Page* GetPage() const; // can be null 478 Page* GetPage() const; // can be null
479 Settings* GetSettings() const; // can be null 479 Settings* GetSettings() const; // can be null
480 480
481 float DevicePixelRatio() const; 481 float DevicePixelRatio() const;
482 482
483 Range* createRange(); 483 Range* createRange();
484 484
485 NodeIterator* createNodeIterator(Node* root, 485 NodeIterator* createNodeIterator(Node* root,
486 unsigned what_to_show, 486 unsigned what_to_show,
487 NodeFilter*); 487 V8NodeFilterCondition*);
488 TreeWalker* createTreeWalker(Node* root, unsigned what_to_show, NodeFilter*); 488 TreeWalker* createTreeWalker(Node* root,
489 unsigned what_to_show,
490 V8NodeFilterCondition*);
489 491
490 // Special support for editing 492 // Special support for editing
491 Text* CreateEditingTextNode(const String&); 493 Text* CreateEditingTextNode(const String&);
492 494
493 void SetupFontBuilder(ComputedStyle& document_style); 495 void SetupFontBuilder(ComputedStyle& document_style);
494 496
495 bool NeedsLayoutTreeUpdate() const; 497 bool NeedsLayoutTreeUpdate() const;
496 bool NeedsLayoutTreeUpdateForNode(const Node&) const; 498 bool NeedsLayoutTreeUpdateForNode(const Node&) const;
497 // Update ComputedStyles and attach LayoutObjects if necessary, but don't 499 // Update ComputedStyles and attach LayoutObjects if necessary, but don't
498 // lay out. 500 // lay out.
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1737 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1736 1738
1737 } // namespace blink 1739 } // namespace blink
1738 1740
1739 #ifndef NDEBUG 1741 #ifndef NDEBUG
1740 // Outside the WebCore namespace for ease of invocation from gdb. 1742 // Outside the WebCore namespace for ease of invocation from gdb.
1741 CORE_EXPORT void showLiveDocumentInstances(); 1743 CORE_EXPORT void showLiveDocumentInstances();
1742 #endif 1744 #endif
1743 1745
1744 #endif // Document_h 1746 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698