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/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/common/render_messages.h" | 14 #include "chrome/common/render_messages.h" |
15 #include "chrome/renderer/render_process.h" | |
16 #include "content/common/view_messages.h" | 15 #include "content/common/view_messages.h" |
| 16 #include "content/renderer/render_process.h" |
17 #include "content/renderer/render_thread.h" | 17 #include "content/renderer/render_thread.h" |
18 #include "content/renderer/renderer_webkitclient_impl.h" | 18 #include "content/renderer/renderer_webkitclient_impl.h" |
19 #include "gpu/common/gpu_trace_event.h" | 19 #include "gpu/common/gpu_trace_event.h" |
20 #include "ipc/ipc_sync_message.h" | 20 #include "ipc/ipc_sync_message.h" |
21 #include "skia/ext/platform_canvas.h" | 21 #include "skia/ext/platform_canvas.h" |
22 #include "third_party/skia/include/core/SkShader.h" | 22 #include "third_party/skia/include/core/SkShader.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" |
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 | 1109 |
1110 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { | 1110 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { |
1111 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); | 1111 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); |
1112 i != plugin_window_moves_.end(); ++i) { | 1112 i != plugin_window_moves_.end(); ++i) { |
1113 if (i->window == window) { | 1113 if (i->window == window) { |
1114 plugin_window_moves_.erase(i); | 1114 plugin_window_moves_.erase(i); |
1115 break; | 1115 break; |
1116 } | 1116 } |
1117 } | 1117 } |
1118 } | 1118 } |
OLD | NEW |