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

Side by Side Diff: Source/web/tests/WebDocumentTest.cpp

Issue 339793006: Remove unnecessary Document.h includes in .cpp files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/tests/RenderTableRowTest.cpp ('k') | Source/web/tests/WebPageNewSerializerTest.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 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/Document.h"
11 #include "core/dom/NodeRenderStyle.h" 10 #include "core/dom/NodeRenderStyle.h"
12 #include "core/frame/LocalFrame.h" 11 #include "core/frame/LocalFrame.h"
13 #include "core/html/HTMLElement.h" 12 #include "core/html/HTMLElement.h"
14 #include "core/page/Page.h" 13 #include "core/page/Page.h"
15 #include "core/rendering/style/RenderStyle.h" 14 #include "core/rendering/style/RenderStyle.h"
16 #include "platform/graphics/Color.h" 15 #include "platform/graphics/Color.h"
17 #include "web/tests/FrameTestHelpers.h" 16 #include "web/tests/FrameTestHelpers.h"
18 17
19 #include <gtest/gtest.h> 18 #include <gtest/gtest.h>
20 19
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 coreDoc->updateRenderTreeIfNeeded(); 53 coreDoc->updateRenderTreeIfNeeded();
55 54
56 style = bodyElement->renderStyle(); 55 style = bodyElement->renderStyle();
57 ASSERT(style); 56 ASSERT(style);
58 57
59 // Inserted stylesheet applied. 58 // Inserted stylesheet applied.
60 ASSERT_EQ(Color(0, 128, 0), style->visitedDependentColor(WebCore::CSSPropert yColor)); 59 ASSERT_EQ(Color(0, 128, 0), style->visitedDependentColor(WebCore::CSSPropert yColor));
61 } 60 }
62 61
63 } 62 }
OLDNEW
« no previous file with comments | « Source/web/tests/RenderTableRowTest.cpp ('k') | Source/web/tests/WebPageNewSerializerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698