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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameTest.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
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/frame/LocalFrame.h" 5 #include "core/frame/LocalFrame.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/html/HTMLElement.h" 8 #include "core/html/HTMLElement.h"
9 #include "core/layout/LayoutObject.h"
9 #include "core/testing/DummyPageHolder.h" 10 #include "core/testing/DummyPageHolder.h"
10 #include "platform/DragImage.h" 11 #include "platform/DragImage.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 class LocalFrameTest : public ::testing::Test { 16 class LocalFrameTest : public ::testing::Test {
16 protected: 17 protected:
17 LocalFrameTest() = default; 18 LocalFrameTest() = default;
18 ~LocalFrameTest() override = default; 19 ~LocalFrameTest() override = default;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 117
117 // Layout w/o :-webkit-drag 118 // Layout w/o :-webkit-drag
118 updateAllLifecyclePhases(); 119 updateAllLifecyclePhases();
119 120
120 EXPECT_EQ(Color(0, 0, 255), 121 EXPECT_EQ(Color(0, 0, 255),
121 sample->layoutObject()->resolveColor(CSSPropertyColor)) 122 sample->layoutObject()->resolveColor(CSSPropertyColor))
122 << "#sample doesn't have :-webkit-drag."; 123 << "#sample doesn't have :-webkit-drag.";
123 } 124 }
124 125
125 } // namespace blink 126 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698