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

Side by Side Diff: content/renderer/render_widget.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "cc/base/switches.h"
18 #include "cc/base/thread.h"
19 #include "cc/base/thread_impl.h"
17 #include "cc/layer_tree_host.h" 20 #include "cc/layer_tree_host.h"
18 #include "cc/output_surface.h" 21 #include "cc/output_surface.h"
19 #include "cc/switches.h"
20 #include "cc/thread.h"
21 #include "cc/thread_impl.h"
22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
23 #include "content/common/swapped_out_messages.h" 23 #include "content/common/swapped_out_messages.h"
24 #include "content/common/view_messages.h" 24 #include "content/common/view_messages.h"
25 #include "content/public/common/content_switches.h" 25 #include "content/public/common/content_switches.h"
26 #include "content/renderer/gpu/compositor_output_surface.h" 26 #include "content/renderer/gpu/compositor_output_surface.h"
27 #include "content/renderer/gpu/compositor_software_output_device_gl_adapter.h" 27 #include "content/renderer/gpu/compositor_software_output_device_gl_adapter.h"
28 #include "content/renderer/gpu/input_handler_manager.h" 28 #include "content/renderer/gpu/input_handler_manager.h"
29 #include "content/renderer/gpu/mailbox_output_surface.h" 29 #include "content/renderer/gpu/mailbox_output_surface.h"
30 #include "content/renderer/gpu/render_widget_compositor.h" 30 #include "content/renderer/gpu/render_widget_compositor.h"
31 #include "content/renderer/render_process.h" 31 #include "content/renderer/render_process.h"
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 if (!context->Initialize( 2276 if (!context->Initialize(
2277 attributes, 2277 attributes,
2278 false /* bind generates resources */, 2278 false /* bind generates resources */,
2279 CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZ E)) 2279 CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZ E))
2280 return NULL; 2280 return NULL;
2281 return context.release(); 2281 return context.release();
2282 } 2282 }
2283 } 2283 }
2284 2284
2285 } // namespace content 2285 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698