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

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

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 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 // 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 <gtest/gtest.h>
6 #include <memory> 6 #include <memory>
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/layout/api/LayoutViewItem.h" 8 #include "core/layout/api/LayoutViewItem.h"
9 #include "core/layout/compositing/CompositedLayerMapping.h" 9 #include "core/layout/compositing/CompositedLayerMapping.h"
10 #include "core/layout/compositing/PaintLayerCompositor.h" 10 #include "core/layout/compositing/PaintLayerCompositor.h"
11 #include "core/page/Page.h" 11 #include "core/page/Page.h"
12 #include "platform/graphics/CompositorMutableProperties.h" 12 #include "platform/graphics/CompositorMutableProperties.h"
13 #include "platform/graphics/CompositorMutation.h" 13 #include "platform/graphics/CompositorMutation.h"
14 #include "platform/graphics/GraphicsLayer.h" 14 #include "platform/graphics/GraphicsLayer.h"
15 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 15 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
16 #include "platform/testing/URLTestHelpers.h" 16 #include "platform/testing/URLTestHelpers.h"
17 #include "platform/testing/UnitTestHelpers.h" 17 #include "platform/testing/UnitTestHelpers.h"
18 #include "platform/wtf/PtrUtil.h"
18 #include "public/platform/Platform.h" 19 #include "public/platform/Platform.h"
19 #include "public/platform/WebLayer.h" 20 #include "public/platform/WebLayer.h"
20 #include "public/platform/WebLayerTreeView.h" 21 #include "public/platform/WebLayerTreeView.h"
21 #include "public/platform/WebURLLoaderMockFactory.h" 22 #include "public/platform/WebURLLoaderMockFactory.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 29
30 namespace blink { 30 namespace blink {
31 31
32 typedef bool TestParamRootLayerScrolling; 32 typedef bool TestParamRootLayerScrolling;
33 class CompositorWorkerTest 33 class CompositorWorkerTest
34 : public ::testing::WithParamInterface<TestParamRootLayerScrolling>, 34 : public ::testing::WithParamInterface<TestParamRootLayerScrolling>,
35 private ScopedRootLayerScrollingForTest, 35 private ScopedRootLayerScrollingForTest,
36 private ScopedCompositorWorkerForTest, 36 private ScopedCompositorWorkerForTest,
37 public ::testing::Test { 37 public ::testing::Test {
38 public: 38 public:
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 const String& opacityValue = 368 const String& opacityValue =
369 document->domWindow() 369 document->domWindow()
370 ->getComputedStyle(proxiedElement, String()) 370 ->getComputedStyle(proxiedElement, String())
371 ->getPropertyValueInternal(CSSPropertyOpacity); 371 ->getPropertyValueInternal(CSSPropertyOpacity);
372 EXPECT_EQ("0.8", opacityValue); 372 EXPECT_EQ("0.8", opacityValue);
373 } 373 }
374 } 374 }
375 375
376 } // namespace blink 376 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/AnimationSimTest.cpp ('k') | third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698