OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/layout/api/LayoutViewItem.h" | 34 #include "core/layout/api/LayoutViewItem.h" |
35 #include "core/layout/compositing/CompositedLayerMapping.h" | 35 #include "core/layout/compositing/CompositedLayerMapping.h" |
36 #include "core/layout/compositing/PaintLayerCompositor.h" | 36 #include "core/layout/compositing/PaintLayerCompositor.h" |
37 #include "core/page/Page.h" | 37 #include "core/page/Page.h" |
38 #include "platform/geometry/IntPoint.h" | 38 #include "platform/geometry/IntPoint.h" |
39 #include "platform/geometry/IntRect.h" | 39 #include "platform/geometry/IntRect.h" |
40 #include "platform/graphics/GraphicsLayer.h" | 40 #include "platform/graphics/GraphicsLayer.h" |
41 #include "platform/testing/URLTestHelpers.h" | 41 #include "platform/testing/URLTestHelpers.h" |
42 #include "platform/testing/UnitTestHelpers.h" | 42 #include "platform/testing/UnitTestHelpers.h" |
43 #include "public/platform/Platform.h" | 43 #include "public/platform/Platform.h" |
| 44 #include "public/platform/WebCache.h" |
44 #include "public/platform/WebLayer.h" | 45 #include "public/platform/WebLayer.h" |
45 #include "public/platform/WebLayerPositionConstraint.h" | 46 #include "public/platform/WebLayerPositionConstraint.h" |
46 #include "public/platform/WebLayerTreeView.h" | 47 #include "public/platform/WebLayerTreeView.h" |
47 #include "public/platform/WebURLLoaderMockFactory.h" | 48 #include "public/platform/WebURLLoaderMockFactory.h" |
48 #include "public/web/WebCache.h" | |
49 #include "public/web/WebSettings.h" | 49 #include "public/web/WebSettings.h" |
50 #include "public/web/WebViewClient.h" | 50 #include "public/web/WebViewClient.h" |
51 #include "testing/gtest/include/gtest/gtest.h" | 51 #include "testing/gtest/include/gtest/gtest.h" |
52 #include "web/WebLocalFrameImpl.h" | 52 #include "web/WebLocalFrameImpl.h" |
53 #include "web/WebViewImpl.h" | 53 #include "web/WebViewImpl.h" |
54 #include "web/tests/FrameTestHelpers.h" | 54 #include "web/tests/FrameTestHelpers.h" |
55 | 55 |
56 namespace blink { | 56 namespace blink { |
57 | 57 |
58 class ScrollingCoordinatorTest : public ::testing::Test { | 58 class ScrollingCoordinatorTest : public ::testing::Test { |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 ASSERT_FALSE(frameView->mainThreadScrollingReasons() & reason); | 1149 ASSERT_FALSE(frameView->mainThreadScrollingReasons() & reason); |
1150 } | 1150 } |
1151 | 1151 |
1152 TEST_F(StyleRelatedMainThreadScrollingReasonTest, LCDTextEnabledTest) { | 1152 TEST_F(StyleRelatedMainThreadScrollingReasonTest, LCDTextEnabledTest) { |
1153 testStyle("transparent border-radius", | 1153 testStyle("transparent border-radius", |
1154 MainThreadScrollingReason::kHasOpacityAndLCDText | | 1154 MainThreadScrollingReason::kHasOpacityAndLCDText | |
1155 MainThreadScrollingReason::kHasBorderRadius); | 1155 MainThreadScrollingReason::kHasBorderRadius); |
1156 } | 1156 } |
1157 | 1157 |
1158 } // namespace blink | 1158 } // namespace blink |
OLD | NEW |