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

Side by Side Diff: third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #include "core/layout/LayoutGeometryMap.h" 31 #include "core/layout/LayoutGeometryMap.h"
32 32
33 #include "core/dom/Document.h" 33 #include "core/dom/Document.h"
34 #include "core/layout/LayoutBox.h" 34 #include "core/layout/LayoutBox.h"
35 #include "core/layout/LayoutView.h" 35 #include "core/layout/LayoutView.h"
36 #include "core/paint/PaintLayer.h" 36 #include "core/paint/PaintLayer.h"
37 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 37 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
38 #include "platform/testing/URLTestHelpers.h" 38 #include "platform/testing/URLTestHelpers.h"
39 #include "platform/testing/UnitTestHelpers.h" 39 #include "platform/testing/UnitTestHelpers.h"
40 #include "public/platform/Platform.h" 40 #include "public/platform/Platform.h"
41 #include "public/platform/WebCache.h"
41 #include "public/platform/WebURLLoaderMockFactory.h" 42 #include "public/platform/WebURLLoaderMockFactory.h"
42 #include "public/web/WebCache.h"
43 #include "public/web/WebFrameClient.h" 43 #include "public/web/WebFrameClient.h"
44 #include "testing/gtest/include/gtest/gtest.h" 44 #include "testing/gtest/include/gtest/gtest.h"
45 #include "web/WebLocalFrameImpl.h" 45 #include "web/WebLocalFrameImpl.h"
46 #include "web/tests/FrameTestHelpers.h" 46 #include "web/tests/FrameTestHelpers.h"
47 47
48 namespace blink { 48 namespace blink {
49 49
50 typedef bool TestParamRootLayerScrolling; 50 typedef bool TestParamRootLayerScrolling;
51 class LayoutGeometryMapTest 51 class LayoutGeometryMapTest
52 : public ::testing::Test, 52 : public ::testing::Test,
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 EXPECT_EQ(FloatRect(263.0f, 154.0f, 10.0f, 8.0f), 528 EXPECT_EQ(FloatRect(263.0f, 154.0f, 10.0f, 8.0f),
529 rectFromQuad(rgm.mapToAncestor(rect, nullptr))); 529 rectFromQuad(rgm.mapToAncestor(rect, nullptr)));
530 530
531 rgm.pushMappingsToAncestor(floating, span); 531 rgm.pushMappingsToAncestor(floating, span);
532 EXPECT_EQ(rect, rectFromQuad(rgm.mapToAncestor(rect, container))); 532 EXPECT_EQ(rect, rectFromQuad(rgm.mapToAncestor(rect, container)));
533 EXPECT_EQ(FloatRect(63.0f, 54.0f, 10.0f, 8.0f), 533 EXPECT_EQ(FloatRect(63.0f, 54.0f, 10.0f, 8.0f),
534 rectFromQuad(rgm.mapToAncestor(rect, nullptr))); 534 rectFromQuad(rgm.mapToAncestor(rect, nullptr)));
535 } 535 }
536 536
537 } // namespace blink 537 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp ('k') | third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698