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

Side by Side Diff: webkit/support/web_layer_tree_view_impl_for_testing.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « webkit/support/web_layer_tree_view_impl_for_testing.h ('k') | webkit/support/webkit_support.h » ('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 "webkit/support/web_layer_tree_view_impl_for_testing.h" 5 #include "webkit/support/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/base/thread.h" 11 #include "cc/base/thread.h"
12 #include "cc/base/thread_impl.h" 12 #include "cc/base/thread_impl.h"
13 #include "cc/debug/fake_web_graphics_context_3d.h" 13 #include "cc/debug/fake_web_graphics_context_3d.h"
14 #include "cc/input/input_handler.h" 14 #include "cc/input/input_handler.h"
15 #include "cc/layers/layer.h" 15 #include "cc/layers/layer.h"
16 #include "cc/output/context_provider.h" 16 #include "cc/output/context_provider.h"
17 #include "cc/output/output_surface.h" 17 #include "cc/output/output_surface.h"
18 #include "cc/output/software_output_device.h" 18 #include "cc/output/software_output_device.h"
19 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
20 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" 20 #include "third_party/WebKit/public/platform/Platform.h"
21 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 21 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
22 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 22 #include "third_party/WebKit/public/platform/WebLayer.h"
23 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" 23 #include "third_party/WebKit/public/platform/WebLayerTreeView.h"
24 #include "third_party/WebKit/Source/Platform/chromium/public/WebRenderingStats.h " 24 #include "third_party/WebKit/public/platform/WebRenderingStats.h"
25 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 25 #include "third_party/WebKit/public/platform/WebSize.h"
26 #include "webkit/common/gpu/test_context_provider_factory.h" 26 #include "webkit/common/gpu/test_context_provider_factory.h"
27 #include "webkit/renderer/compositor_bindings/web_layer_impl.h" 27 #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
28 #include "webkit/support/test_webkit_platform_support.h" 28 #include "webkit/support/test_webkit_platform_support.h"
29 29
30 using WebKit::WebColor; 30 using WebKit::WebColor;
31 using WebKit::WebGraphicsContext3D; 31 using WebKit::WebGraphicsContext3D;
32 using WebKit::WebRect; 32 using WebKit::WebRect;
33 using WebKit::WebRenderingStats; 33 using WebKit::WebRenderingStats;
34 using WebKit::WebSize; 34 using WebKit::WebSize;
35 35
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 OffscreenContextProviderForMainThread(); 207 OffscreenContextProviderForMainThread();
208 } 208 }
209 209
210 scoped_refptr<cc::ContextProvider> 210 scoped_refptr<cc::ContextProvider>
211 WebLayerTreeViewImplForTesting::OffscreenContextProviderForCompositorThread() { 211 WebLayerTreeViewImplForTesting::OffscreenContextProviderForCompositorThread() {
212 return webkit::gpu::TestContextProviderFactory::GetInstance()-> 212 return webkit::gpu::TestContextProviderFactory::GetInstance()->
213 OffscreenContextProviderForCompositorThread(); 213 OffscreenContextProviderForCompositorThread();
214 } 214 }
215 215
216 } // namespace webkit 216 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/support/web_layer_tree_view_impl_for_testing.h ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698