| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |