| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "public/web/WebDocument.h" | 7 #include "public/web/WebDocument.h" |
| 8 | 8 |
| 9 #include "core/CSSPropertyNames.h" | 9 #include "core/CSSPropertyNames.h" |
| 10 #include "core/dom/NodeComputedStyle.h" | 10 #include "core/dom/NodeComputedStyle.h" |
| 11 #include "core/dom/StyleEngine.h" | 11 #include "core/dom/StyleEngine.h" |
| 12 #include "core/frame/LocalFrame.h" | 12 #include "core/frame/LocalFrame.h" |
| 13 #include "core/html/HTMLElement.h" | 13 #include "core/html/HTMLElement.h" |
| 14 #include "core/layout/style/ComputedStyle.h" | 14 #include "core/style/ComputedStyle.h" |
| 15 #include "core/page/Page.h" | 15 #include "core/page/Page.h" |
| 16 #include "platform/graphics/Color.h" | 16 #include "platform/graphics/Color.h" |
| 17 #include "platform/testing/URLTestHelpers.h" | 17 #include "platform/testing/URLTestHelpers.h" |
| 18 #include "web/tests/FrameTestHelpers.h" | 18 #include "web/tests/FrameTestHelpers.h" |
| 19 #include <gtest/gtest.h> | 19 #include <gtest/gtest.h> |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 using blink::FrameTestHelpers::WebViewHelper; | 23 using blink::FrameTestHelpers::WebViewHelper; |
| 24 using blink::URLTestHelpers::toKURL; | 24 using blink::URLTestHelpers::toKURL; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 ASSERT_FALSE(coreDoc->isTransitionDocument()); | 198 ASSERT_FALSE(coreDoc->isTransitionDocument()); |
| 199 | 199 |
| 200 frame->document().setIsTransitionDocument(true); | 200 frame->document().setIsTransitionDocument(true); |
| 201 ASSERT_TRUE(coreDoc->isTransitionDocument()); | 201 ASSERT_TRUE(coreDoc->isTransitionDocument()); |
| 202 | 202 |
| 203 frame->document().setIsTransitionDocument(false); | 203 frame->document().setIsTransitionDocument(false); |
| 204 ASSERT_FALSE(coreDoc->isTransitionDocument()); | 204 ASSERT_FALSE(coreDoc->isTransitionDocument()); |
| 205 } | 205 } |
| 206 | 206 |
| 207 } | 207 } |
| OLD | NEW |