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

Side by Side Diff: third_party/WebKit/Source/core/page/PrintContextTest.cpp

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 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"
6 #include "core/page/PrintContext.h" 5 #include "core/page/PrintContext.h"
7 6
8 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
9 8
10 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
11 #include "core/html/HTMLElement.h" 10 #include "core/html/HTMLElement.h"
12 #include "core/layout/LayoutTestHelper.h" 11 #include "core/layout/LayoutTestHelper.h"
13 #include "core/layout/LayoutView.h" 12 #include "core/layout/LayoutView.h"
14 #include "core/paint/PaintLayer.h" 13 #include "core/paint/PaintLayer.h"
15 #include "core/paint/PaintLayerPainter.h" 14 #include "core/paint/PaintLayerPainter.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 ASSERT_EQ(3u, operations.size()); 308 ASSERT_EQ(3u, operations.size());
310 EXPECT_EQ(MockCanvas::DrawRect, operations[0].type); 309 EXPECT_EQ(MockCanvas::DrawRect, operations[0].type);
311 EXPECT_SKRECT_EQ(50, 60, 70, 80, operations[0].rect); // FIXME: the rect sho uld be clipped. 310 EXPECT_SKRECT_EQ(50, 60, 70, 80, operations[0].rect); // FIXME: the rect sho uld be clipped.
312 EXPECT_EQ(MockCanvas::DrawRect, operations[1].type); 311 EXPECT_EQ(MockCanvas::DrawRect, operations[1].type);
313 EXPECT_SKRECT_EQ(150, 160, 170, 180, operations[1].rect); 312 EXPECT_SKRECT_EQ(150, 160, 170, 180, operations[1].rect);
314 EXPECT_EQ(MockCanvas::DrawRect, operations[2].type); 313 EXPECT_EQ(MockCanvas::DrawRect, operations[2].type);
315 EXPECT_SKRECT_EQ(250, 260, 270, 280, operations[2].rect); 314 EXPECT_SKRECT_EQ(250, 260, 270, 280, operations[2].rect);
316 } 315 }
317 316
318 } // namespace blink 317 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/PrintContext.cpp ('k') | third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698