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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #ifndef FlatTreeTraversal_h 27 #ifndef FlatTreeTraversal_h
28 #define FlatTreeTraversal_h 28 #define FlatTreeTraversal_h
29 29
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/LayoutTreeBuilderTraversal.h" 32 #include "core/dom/LayoutTreeBuilderTraversal.h"
33 #include "core/dom/shadow/InsertionPoint.h" 33 #include "core/dom/shadow/InsertionPoint.h"
34 #include "core/dom/shadow/ShadowRoot.h" 34 #include "core/dom/shadow/ShadowRoot.h"
35 #include "wtf/Allocator.h" 35 #include "platform/wtf/Allocator.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ContainerNode; 39 class ContainerNode;
40 class Node; 40 class Node;
41 41
42 // Flat tree version of |NodeTraversal|. 42 // Flat tree version of |NodeTraversal|.
43 // 43 //
44 // None of member functions takes a |ShadowRoot| or an active insertion point, 44 // None of member functions takes a |ShadowRoot| or an active insertion point,
45 // e.g. roughly speaking <content> and <shadow> in the shadow tree, see 45 // e.g. roughly speaking <content> and <shadow> in the shadow tree, see
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 return TraverseChild(node, kTraversalDirectionForward); 296 return TraverseChild(node, kTraversalDirectionForward);
297 } 297 }
298 298
299 inline Node* FlatTreeTraversal::TraverseLastChild(const Node& node) { 299 inline Node* FlatTreeTraversal::TraverseLastChild(const Node& node) {
300 return TraverseChild(node, kTraversalDirectionBackward); 300 return TraverseChild(node, kTraversalDirectionBackward);
301 } 301 }
302 302
303 } // namespace blink 303 } // namespace blink
304 304
305 #endif 305 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698