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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp

Issue 2348993002: Don't include LayoutObject.h from FrameView.h (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/css/resolver/SharedStyleFinder.h" 5 #include "core/css/resolver/SharedStyleFinder.h"
6 6
7 #include "core/css/RuleFeature.h" 7 #include "core/css/RuleFeature.h"
8 #include "core/css/RuleSet.h" 8 #include "core/css/RuleSet.h"
9 #include "core/css/parser/CSSParser.h" 9 #include "core/css/parser/CSSParser.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/frame/FrameView.h" 11 #include "core/frame/FrameView.h"
12 #include "core/html/HTMLElement.h"
12 #include "core/testing/DummyPageHolder.h" 13 #include "core/testing/DummyPageHolder.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 #include <memory> 15 #include <memory>
15 16
16 namespace blink { 17 namespace blink {
17 18
18 class SharedStyleFinderTest : public ::testing::Test { 19 class SharedStyleFinderTest : public ::testing::Test {
19 protected: 20 protected:
20 SharedStyleFinderTest() = default; 21 SharedStyleFinderTest() = default;
21 ~SharedStyleFinderTest() override = default; 22 ~SharedStyleFinderTest() override = default;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 ASSERT_TRUE(b); 183 ASSERT_TRUE(b);
183 184
184 EXPECT_FALSE(a->isDragged()); 185 EXPECT_FALSE(a->isDragged());
185 EXPECT_FALSE(b->isDragged()); 186 EXPECT_FALSE(b->isDragged());
186 187
187 EXPECT_TRUE(matchesUncommonAttributeRuleSet(*a)); 188 EXPECT_TRUE(matchesUncommonAttributeRuleSet(*a));
188 EXPECT_FALSE(matchesUncommonAttributeRuleSet(*b)); 189 EXPECT_FALSE(matchesUncommonAttributeRuleSet(*b));
189 } 190 }
190 191
191 } // namespace blink 192 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698