OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <gtest/gtest.h> |
5 #include <memory> | 6 #include <memory> |
6 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
7 #include "core/layout/api/LayoutViewItem.h" | 8 #include "core/layout/api/LayoutViewItem.h" |
8 #include "core/layout/compositing/CompositedLayerMapping.h" | 9 #include "core/layout/compositing/CompositedLayerMapping.h" |
9 #include "core/layout/compositing/PaintLayerCompositor.h" | 10 #include "core/layout/compositing/PaintLayerCompositor.h" |
10 #include "core/page/Page.h" | 11 #include "core/page/Page.h" |
11 #include "platform/graphics/CompositorMutableProperties.h" | 12 #include "platform/graphics/CompositorMutableProperties.h" |
12 #include "platform/graphics/CompositorMutation.h" | 13 #include "platform/graphics/CompositorMutation.h" |
13 #include "platform/graphics/GraphicsLayer.h" | 14 #include "platform/graphics/GraphicsLayer.h" |
14 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" | 15 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
15 #include "platform/testing/URLTestHelpers.h" | 16 #include "platform/testing/URLTestHelpers.h" |
16 #include "platform/testing/UnitTestHelpers.h" | 17 #include "platform/testing/UnitTestHelpers.h" |
17 #include "public/platform/Platform.h" | 18 #include "public/platform/Platform.h" |
| 19 #include "public/platform/WebCache.h" |
18 #include "public/platform/WebLayer.h" | 20 #include "public/platform/WebLayer.h" |
19 #include "public/platform/WebLayerTreeView.h" | 21 #include "public/platform/WebLayerTreeView.h" |
20 #include "public/platform/WebURLLoaderMockFactory.h" | 22 #include "public/platform/WebURLLoaderMockFactory.h" |
21 #include "public/web/WebCache.h" | |
22 #include "public/web/WebSettings.h" | 23 #include "public/web/WebSettings.h" |
23 #include "public/web/WebViewClient.h" | 24 #include "public/web/WebViewClient.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
25 #include "web/WebLocalFrameImpl.h" | 26 #include "web/WebLocalFrameImpl.h" |
26 #include "web/WebViewImpl.h" | 27 #include "web/WebViewImpl.h" |
27 #include "web/tests/FrameTestHelpers.h" | 28 #include "web/tests/FrameTestHelpers.h" |
28 #include "wtf/PtrUtil.h" | 29 #include "wtf/PtrUtil.h" |
29 | 30 |
30 namespace blink { | 31 namespace blink { |
31 | 32 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 367 |
367 const String& opacityValue = | 368 const String& opacityValue = |
368 document->domWindow() | 369 document->domWindow() |
369 ->getComputedStyle(proxiedElement, String()) | 370 ->getComputedStyle(proxiedElement, String()) |
370 ->getPropertyValueInternal(CSSPropertyOpacity); | 371 ->getPropertyValueInternal(CSSPropertyOpacity); |
371 EXPECT_EQ("0.8", opacityValue); | 372 EXPECT_EQ("0.8", opacityValue); |
372 } | 373 } |
373 } | 374 } |
374 | 375 |
375 } // namespace blink | 376 } // namespace blink |
OLD | NEW |