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

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

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 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
« no previous file with comments | « content/test/test_webkit_platform_support.cc ('k') | webkit/renderer/compositor_bindings/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/test/web_layer_tree_view_impl_for_testing.h" 5 #include "content/test/web_layer_tree_view_impl_for_testing.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "cc/base/switches.h" 10 #include "cc/base/switches.h"
11 #include "cc/input/input_handler.h" 11 #include "cc/input/input_handler.h"
12 #include "cc/layers/layer.h" 12 #include "cc/layers/layer.h"
13 #include "cc/output/output_surface.h" 13 #include "cc/output/output_surface.h"
14 #include "cc/test/test_context_provider.h" 14 #include "cc/test/test_context_provider.h"
15 #include "cc/trees/layer_tree_host.h" 15 #include "cc/trees/layer_tree_host.h"
16 #include "content/renderer/compositor_bindings/web_layer_impl.h"
16 #include "content/test/test_webkit_platform_support.h" 17 #include "content/test/test_webkit_platform_support.h"
17 #include "third_party/WebKit/public/platform/Platform.h" 18 #include "third_party/WebKit/public/platform/Platform.h"
18 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 19 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
19 #include "third_party/WebKit/public/platform/WebLayer.h" 20 #include "third_party/WebKit/public/platform/WebLayer.h"
20 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" 21 #include "third_party/WebKit/public/platform/WebLayerTreeView.h"
21 #include "third_party/WebKit/public/platform/WebSize.h" 22 #include "third_party/WebKit/public/platform/WebSize.h"
22 #include "ui/gfx/frame_time.h" 23 #include "ui/gfx/frame_time.h"
23 #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
24 24
25 using blink::WebColor; 25 using blink::WebColor;
26 using blink::WebGraphicsContext3D; 26 using blink::WebGraphicsContext3D;
27 using blink::WebRect; 27 using blink::WebRect;
28 using blink::WebSize; 28 using blink::WebSize;
29 using webkit::WebLayerImpl;
30 29
31 namespace content { 30 namespace content {
32 31
33 WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting() {} 32 WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting() {}
34 33
35 WebLayerTreeViewImplForTesting::~WebLayerTreeViewImplForTesting() {} 34 WebLayerTreeViewImplForTesting::~WebLayerTreeViewImplForTesting() {}
36 35
37 void WebLayerTreeViewImplForTesting::Initialize() { 36 void WebLayerTreeViewImplForTesting::Initialize() {
38 cc::LayerTreeSettings settings; 37 cc::LayerTreeSettings settings;
39 38
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 layer_tree_host_->RegisterViewportLayers(scoped_refptr<cc::Layer>(), 165 layer_tree_host_->RegisterViewportLayers(scoped_refptr<cc::Layer>(),
167 scoped_refptr<cc::Layer>(), 166 scoped_refptr<cc::Layer>(),
168 scoped_refptr<cc::Layer>()); 167 scoped_refptr<cc::Layer>());
169 } 168 }
170 169
171 bool WebLayerTreeViewImplForTesting::usesGpuRasterization() { 170 bool WebLayerTreeViewImplForTesting::usesGpuRasterization() {
172 return false; 171 return false;
173 } 172 }
174 173
175 } // namespace content 174 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_webkit_platform_support.cc ('k') | webkit/renderer/compositor_bindings/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698