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

Side by Side Diff: content/browser/gpu/gpu_process_host.cc

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/gpu/gpu_process_host.h" 5 #include "content/browser/gpu/gpu_process_host.h"
6 6
7 #include "base/base_switches.h"
7 #include "base/bind.h" 8 #include "base/bind.h"
8 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
9 #include "base/base_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/string_piece.h" 16 #include "base/string_piece.h"
17 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
18 #include "content/browser/browser_child_process_host_impl.h" 18 #include "content/browser/browser_child_process_host_impl.h"
19 #include "content/browser/gpu/gpu_data_manager_impl.h" 19 #include "content/browser/gpu/gpu_data_manager_impl.h"
20 #include "content/browser/gpu/gpu_process_host_ui_shim.h" 20 #include "content/browser/gpu/gpu_process_host_ui_shim.h"
21 #include "content/browser/renderer_host/render_widget_host.h" 21 #include "content/browser/renderer_host/render_widget_host.h"
22 #include "content/browser/renderer_host/render_widget_host_view.h"
23 #include "content/common/child_process_host_impl.h" 22 #include "content/common/child_process_host_impl.h"
24 #include "content/common/gpu/gpu_messages.h" 23 #include "content/common/gpu/gpu_messages.h"
25 #include "content/gpu/gpu_child_thread.h" 24 #include "content/gpu/gpu_child_thread.h"
26 #include "content/gpu/gpu_process.h" 25 #include "content/gpu/gpu_process.h"
27 #include "content/public/browser/browser_thread.h" 26 #include "content/public/browser/browser_thread.h"
28 #include "content/public/browser/content_browser_client.h" 27 #include "content/public/browser/content_browser_client.h"
28 #include "content/public/browser/render_widget_host_view.h"
29 #include "content/public/common/content_switches.h" 29 #include "content/public/common/content_switches.h"
30 #include "content/public/common/result_codes.h" 30 #include "content/public/common/result_codes.h"
31 #include "ipc/ipc_channel_handle.h" 31 #include "ipc/ipc_channel_handle.h"
32 #include "ipc/ipc_switches.h" 32 #include "ipc/ipc_switches.h"
33 #include "ui/gfx/gl/gl_context.h" 33 #include "ui/gfx/gl/gl_context.h"
34 #include "ui/gfx/gl/gl_implementation.h" 34 #include "ui/gfx/gl/gl_implementation.h"
35 #include "ui/gfx/gl/gl_switches.h" 35 #include "ui/gfx/gl/gl_switches.h"
36 36
37 #if defined(TOOLKIT_USES_GTK) 37 #if defined(TOOLKIT_USES_GTK)
38 #include "ui/gfx/gtk_native_view_id_manager.h" 38 #include "ui/gfx/gtk_native_view_id_manager.h"
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 const IPC::ChannelHandle& channel_handle, 654 const IPC::ChannelHandle& channel_handle,
655 base::ProcessHandle renderer_process_for_gpu, 655 base::ProcessHandle renderer_process_for_gpu,
656 const content::GPUInfo& gpu_info) { 656 const content::GPUInfo& gpu_info) {
657 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info); 657 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info);
658 } 658 }
659 659
660 void GpuProcessHost::CreateCommandBufferError( 660 void GpuProcessHost::CreateCommandBufferError(
661 const CreateCommandBufferCallback& callback, int32 route_id) { 661 const CreateCommandBufferCallback& callback, int32 route_id) {
662 callback.Run(route_id); 662 callback.Run(route_id);
663 } 663 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698