OLD | NEW |
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" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "content/renderer/gpu/mailbox_output_surface.h" | 37 #include "content/renderer/gpu/mailbox_output_surface.h" |
38 #include "content/renderer/gpu/render_widget_compositor.h" | 38 #include "content/renderer/gpu/render_widget_compositor.h" |
39 #include "content/renderer/ime_event_guard.h" | 39 #include "content/renderer/ime_event_guard.h" |
40 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 40 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
41 #include "content/renderer/render_process.h" | 41 #include "content/renderer/render_process.h" |
42 #include "content/renderer/render_thread_impl.h" | 42 #include "content/renderer/render_thread_impl.h" |
43 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 43 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
44 #include "content/renderer/resizing_mode_selector.h" | 44 #include "content/renderer/resizing_mode_selector.h" |
45 #include "ipc/ipc_sync_message.h" | 45 #include "ipc/ipc_sync_message.h" |
46 #include "skia/ext/platform_canvas.h" | 46 #include "skia/ext/platform_canvas.h" |
| 47 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
47 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 48 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
48 #include "third_party/WebKit/public/platform/WebRect.h" | 49 #include "third_party/WebKit/public/platform/WebRect.h" |
| 50 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
49 #include "third_party/WebKit/public/platform/WebSize.h" | 51 #include "third_party/WebKit/public/platform/WebSize.h" |
50 #include "third_party/WebKit/public/platform/WebString.h" | 52 #include "third_party/WebKit/public/platform/WebString.h" |
51 #include "third_party/WebKit/public/web/WebCursorInfo.h" | |
52 #include "third_party/WebKit/public/web/WebHelperPlugin.h" | 53 #include "third_party/WebKit/public/web/WebHelperPlugin.h" |
53 #include "third_party/WebKit/public/web/WebPagePopup.h" | 54 #include "third_party/WebKit/public/web/WebPagePopup.h" |
54 #include "third_party/WebKit/public/web/WebPopupMenu.h" | 55 #include "third_party/WebKit/public/web/WebPopupMenu.h" |
55 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" | 56 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" |
56 #include "third_party/WebKit/public/web/WebRange.h" | 57 #include "third_party/WebKit/public/web/WebRange.h" |
57 #include "third_party/WebKit/public/web/WebScreenInfo.h" | |
58 #include "third_party/skia/include/core/SkShader.h" | 58 #include "third_party/skia/include/core/SkShader.h" |
59 #include "ui/base/ui_base_switches.h" | 59 #include "ui/base/ui_base_switches.h" |
60 #include "ui/gfx/frame_time.h" | 60 #include "ui/gfx/frame_time.h" |
61 #include "ui/gfx/rect_conversions.h" | 61 #include "ui/gfx/rect_conversions.h" |
62 #include "ui/gfx/size_conversions.h" | 62 #include "ui/gfx/size_conversions.h" |
63 #include "ui/gfx/skia_util.h" | 63 #include "ui/gfx/skia_util.h" |
64 #include "ui/gl/gl_switches.h" | 64 #include "ui/gl/gl_switches.h" |
65 #include "ui/surface/transport_dib.h" | 65 #include "ui/surface/transport_dib.h" |
66 #include "webkit/renderer/compositor_bindings/web_rendering_stats_impl.h" | 66 #include "webkit/renderer/compositor_bindings/web_rendering_stats_impl.h" |
67 | 67 |
(...skipping 2772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2840 GetURLForGraphicsContext3D(), | 2840 GetURLForGraphicsContext3D(), |
2841 gpu_channel_host.get(), | 2841 gpu_channel_host.get(), |
2842 use_echo_for_swap_ack, | 2842 use_echo_for_swap_ack, |
2843 attributes, | 2843 attributes, |
2844 false /* bind generates resources */, | 2844 false /* bind generates resources */, |
2845 limits)); | 2845 limits)); |
2846 return context.Pass(); | 2846 return context.Pass(); |
2847 } | 2847 } |
2848 | 2848 |
2849 } // namespace content | 2849 } // namespace content |
OLD | NEW |