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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 15822010: Update refernces to Blink's Platform API (content) (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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "cc/base/switches.h" 15 #include "cc/base/switches.h"
16 #include "cc/base/thread_impl.h" 16 #include "cc/base/thread_impl.h"
17 #include "cc/debug/layer_tree_debug_state.h" 17 #include "cc/debug/layer_tree_debug_state.h"
18 #include "cc/layers/layer.h" 18 #include "cc/layers/layer.h"
19 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
20 #include "content/common/gpu/client/context_provider_command_buffer.h" 20 #include "content/common/gpu/client/context_provider_command_buffer.h"
21 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
22 #include "content/renderer/gpu/input_handler_manager.h" 22 #include "content/renderer/gpu/input_handler_manager.h"
23 #include "content/renderer/render_thread_impl.h" 23 #include "content/renderer/render_thread_impl.h"
24 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 24 #include "third_party/WebKit/public/platform/WebSize.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
26 #include "ui/gl/gl_switches.h" 26 #include "ui/gl/gl_switches.h"
27 #include "webkit/renderer/compositor_bindings/web_layer_impl.h" 27 #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
28 28
29 namespace cc { 29 namespace cc {
30 class Layer; 30 class Layer;
31 } 31 }
32 32
33 using WebKit::WebFloatPoint; 33 using WebKit::WebFloatPoint;
34 using WebKit::WebSize; 34 using WebKit::WebSize;
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 return RenderThreadImpl::current()->OffscreenContextProviderForMainThread(); 571 return RenderThreadImpl::current()->OffscreenContextProviderForMainThread();
572 } 572 }
573 573
574 scoped_refptr<cc::ContextProvider> 574 scoped_refptr<cc::ContextProvider>
575 RenderWidgetCompositor::OffscreenContextProviderForCompositorThread() { 575 RenderWidgetCompositor::OffscreenContextProviderForCompositorThread() {
576 return RenderThreadImpl::current()-> 576 return RenderThreadImpl::current()->
577 OffscreenContextProviderForCompositorThread(); 577 OffscreenContextProviderForCompositorThread();
578 } 578 }
579 579
580 } // namespace content 580 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | content/renderer/image_loading_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698