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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 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 <memory>
8 #include "cc/test/test_task_graph_runner.h" 9 #include "cc/test/test_task_graph_runner.h"
9 #include "cc/trees/layer_tree_host_client.h" 10 #include "cc/trees/layer_tree_host_client.h"
10 #include "cc/trees/layer_tree_host_single_thread_client.h" 11 #include "cc/trees/layer_tree_host_single_thread_client.h"
11 #include "public/platform/WebLayerTreeView.h" 12 #include "public/platform/WebLayerTreeView.h"
12 #include <memory>
13 13
14 namespace cc { 14 namespace cc {
15 class AnimationHost; 15 class AnimationHost;
16 class LayerTreeHost; 16 class LayerTreeHost;
17 class LayerTreeSettings; 17 class LayerTreeSettings;
18 } 18 } // namespace cc
19 19
20 namespace blink { 20 namespace blink {
21 21
22 class WebLayer; 22 class WebLayer;
23 23
24 // Dummy WeblayerTeeView that does not support any actual compositing. 24 // Dummy WeblayerTeeView that does not support any actual compositing.
25 class WebLayerTreeViewImplForTesting 25 class WebLayerTreeViewImplForTesting
26 : public blink::WebLayerTreeView, 26 : public blink::WebLayerTreeView,
27 public cc::LayerTreeHostClient, 27 public cc::LayerTreeHostClient,
28 public cc::LayerTreeHostSingleThreadClient { 28 public cc::LayerTreeHostSingleThreadClient {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 private: 108 private:
109 cc::TestTaskGraphRunner task_graph_runner_; 109 cc::TestTaskGraphRunner task_graph_runner_;
110 std::unique_ptr<cc::AnimationHost> animation_host_; 110 std::unique_ptr<cc::AnimationHost> animation_host_;
111 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_; 111 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_;
112 }; 112 };
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif // WebLayerTreeViewImplForTesting_h 116 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698