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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversalTest.cpp

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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/shadow/SlotScopedTraversal.h" 5 #include "core/dom/shadow/SlotScopedTraversal.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
9 #include "core/dom/Element.h" 10 #include "core/dom/Element.h"
10 #include "core/dom/Node.h" 11 #include "core/dom/Node.h"
11 #include "core/dom/NodeTraversal.h" 12 #include "core/dom/NodeTraversal.h"
12 #include "core/dom/shadow/ShadowRoot.h" 13 #include "core/dom/shadow/ShadowRoot.h"
13 #include "core/html/HTMLElement.h" 14 #include "core/html/HTMLElement.h"
14 #include "core/html/HTMLSlotElement.h" 15 #include "core/html/HTMLSlotElement.h"
15 #include "core/testing/DummyPageHolder.h" 16 #include "core/testing/DummyPageHolder.h"
16 #include "platform/geometry/IntSize.h" 17 #include "platform/geometry/IntSize.h"
18 #include "platform/wtf/Vector.h"
17 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
18 #include "wtf/Vector.h"
19 #include <memory>
20 20
21 namespace blink { 21 namespace blink {
22 22
23 class SlotScopedTraversalTest : public ::testing::Test { 23 class SlotScopedTraversalTest : public ::testing::Test {
24 protected: 24 protected:
25 Document& GetDocument() const; 25 Document& GetDocument() const;
26 26
27 void SetupSampleHTML(const char* main_html, 27 void SetupSampleHTML(const char* main_html,
28 const char* shadow_html, 28 const char* shadow_html,
29 unsigned); 29 unsigned);
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 const Vector<Element*> expected_sequence({inner[0], child[0], span[0], 404 const Vector<Element*> expected_sequence({inner[0], child[0], span[0],
405 child[1], span[1], inner[1], 405 child[1], span[1], inner[1],
406 child[2], span[2], child[3]}); 406 child[2], span[2], child[3]});
407 TestExpectedSequence(expected_sequence); 407 TestExpectedSequence(expected_sequence);
408 } break; 408 } break;
409 } 409 }
410 } 410 }
411 } 411 }
412 412
413 } // namespace blink 413 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h ('k') | third_party/WebKit/Source/core/html/ClassList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698