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

Side by Side Diff: content/test/web_layer_tree_view_impl_for_testing.h

Issue 1177033008: cc: Turn impl_side_painting and use_one_copy on in LayerTreeSettings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: implon: fixwebkittests Created 5 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 CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 5 #ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.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 "third_party/WebKit/public/platform/WebLayerTreeView.h" 12 #include "third_party/WebKit/public/platform/WebLayerTreeView.h"
12 13
13 namespace cc { 14 namespace cc {
14 class LayerTreeHost; 15 class LayerTreeHost;
15 } 16 }
16 17
17 namespace blink { class WebLayer; } 18 namespace blink { class WebLayer; }
18 19
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void RecordFrameTimingEvents( 86 void RecordFrameTimingEvents(
86 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 87 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
87 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events) 88 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
88 override {} 89 override {}
89 90
90 // cc::LayerTreeHostSingleThreadClient implementation. 91 // cc::LayerTreeHostSingleThreadClient implementation.
91 void DidPostSwapBuffers() override {} 92 void DidPostSwapBuffers() override {}
92 void DidAbortSwapBuffers() override {} 93 void DidAbortSwapBuffers() override {}
93 94
94 private: 95 private:
96 cc::TestTaskGraphRunner task_graph_runner_;
95 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 97 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
96 98
97 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); 99 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting);
98 }; 100 };
99 101
100 } // namespace content 102 } // namespace content
101 103
102 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 104 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/test/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698