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

Side by Side Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef WebLayerTreeViewImplForTesting_h 5 #ifndef WebLayerTreeViewImplForTesting_h
6 #define WebLayerTreeViewImplForTesting_h 6 #define WebLayerTreeViewImplForTesting_h
7 7
8 #include "cc/test/test_task_graph_runner.h" 8 #include "cc/test/test_task_graph_runner.h"
9 #include "cc/trees/layer_tree_host_client.h" 9 #include "cc/trees/layer_tree_host_client.h"
10 #include "cc/trees/layer_tree_host_single_thread_client.h" 10 #include "cc/trees/layer_tree_host_single_thread_client.h"
11 #include "public/platform/WebLayerTreeView.h" 11 #include "public/platform/WebLayerTreeView.h"
12 #include "wtf/PassOwnPtr.h"
13
14 #include <memory> 12 #include <memory>
15 13
16 namespace cc { 14 namespace cc {
17 class LayerTreeHost; 15 class LayerTreeHost;
18 class LayerTreeSettings; 16 class LayerTreeSettings;
19 } 17 }
20 18
21 namespace blink { 19 namespace blink {
22 20
23 class WebCompositorAnimationTimeline; 21 class WebCompositorAnimationTimeline;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void DidAbortSwapBuffers() override {} 100 void DidAbortSwapBuffers() override {}
103 101
104 private: 102 private:
105 cc::TestTaskGraphRunner m_taskGraphRunner; 103 cc::TestTaskGraphRunner m_taskGraphRunner;
106 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 104 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
107 }; 105 };
108 106
109 } // namespace blink 107 } // namespace blink
110 108
111 #endif // WebLayerTreeViewImplForTesting_h 109 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698