OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "content/common/swapped_out_messages.h" | 16 #include "content/common/swapped_out_messages.h" |
17 #include "content/common/view_messages.h" | 17 #include "content/common/view_messages.h" |
18 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
19 #include "content/renderer/gpu/compositor_thread.h" | 19 #include "content/renderer/gpu/compositor_thread.h" |
20 #include "content/renderer/render_process.h" | 20 #include "content/renderer/render_process.h" |
21 #include "content/renderer/render_thread_impl.h" | 21 #include "content/renderer/render_thread_impl.h" |
22 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 22 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
23 #include "ipc/ipc_sync_message.h" | 23 #include "ipc/ipc_sync_message.h" |
24 #include "skia/ext/platform_canvas.h" | 24 #include "skia/ext/platform_canvas.h" |
25 #include "third_party/skia/include/core/SkShader.h" | 25 #include "third_party/skia/include/core/SkShader.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
35 #include "ui/gfx/point.h" | 35 #include "ui/gfx/point.h" |
36 #include "ui/gfx/size.h" | 36 #include "ui/gfx/size.h" |
37 #include "ui/gfx/surface/transport_dib.h" | 37 #include "ui/gfx/surface/transport_dib.h" |
38 #include "ui/gfx/gl/gl_switches.h" | 38 #include "ui/gfx/gl/gl_switches.h" |
39 #include "webkit/glue/webkit_glue.h" | 39 #include "webkit/glue/webkit_glue.h" |
40 #include "webkit/plugins/npapi/webplugin.h" | 40 #include "webkit/plugins/npapi/webplugin.h" |
41 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 41 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
42 | 42 |
43 #if defined(OS_POSIX) | 43 #if defined(OS_POSIX) |
44 #include "ipc/ipc_channel_posix.h" | 44 #include "ipc/ipc_channel_posix.h" |
(...skipping 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 } | 1488 } |
1489 } | 1489 } |
1490 | 1490 |
1491 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) { | 1491 bool RenderWidget::WillHandleMouseEvent(const WebKit::WebMouseEvent& event) { |
1492 return false; | 1492 return false; |
1493 } | 1493 } |
1494 | 1494 |
1495 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const { | 1495 bool RenderWidget::WebWidgetHandlesCompositorScheduling() const { |
1496 return false; | 1496 return false; |
1497 } | 1497 } |
OLD | NEW |