OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/renderer/render_widget.h" | 5 #include "chrome/renderer/render_widget.h" |
6 | 6 |
7 #include "base/gfx/point.h" | 7 #include "base/gfx/point.h" |
8 #include "base/gfx/size.h" | 8 #include "base/gfx/size.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/common/render_messages.h" | 13 #include "chrome/common/render_messages.h" |
14 #include "chrome/common/transport_dib.h" | 14 #include "chrome/common/transport_dib.h" |
15 #include "chrome/renderer/render_process.h" | 15 #include "chrome/renderer/render_process.h" |
16 #include "skia/ext/platform_canvas.h" | 16 #include "skia/ext/platform_canvas.h" |
17 #include "third_party/skia/include/core/SkShader.h" | 17 #include "third_party/skia/include/core/SkShader.h" |
18 #include "webkit/api/public/WebCursorInfo.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" |
19 #include "webkit/api/public/WebPopupMenu.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenu.h" |
20 #include "webkit/api/public/WebPopupMenuInfo.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenuInfo.h" |
21 #include "webkit/api/public/WebRect.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
22 #include "webkit/api/public/WebScreenInfo.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" |
23 #include "webkit/api/public/WebSize.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h" |
24 #include "webkit/glue/webkit_glue.h" | 24 #include "webkit/glue/webkit_glue.h" |
25 | 25 |
26 #if defined(OS_POSIX) | 26 #if defined(OS_POSIX) |
27 #include "third_party/skia/include/core/SkPixelRef.h" | 27 #include "third_party/skia/include/core/SkPixelRef.h" |
28 #include "third_party/skia/include/core/SkMallocPixelRef.h" | 28 #include "third_party/skia/include/core/SkMallocPixelRef.h" |
29 #endif // defined(OS_POSIX) | 29 #endif // defined(OS_POSIX) |
30 | 30 |
31 #include "webkit/api/public/WebWidget.h" | 31 #include "third_party/WebKit/WebKit/chromium/public/WebWidget.h" |
32 | 32 |
33 using WebKit::WebCompositionCommand; | 33 using WebKit::WebCompositionCommand; |
34 using WebKit::WebCursorInfo; | 34 using WebKit::WebCursorInfo; |
35 using WebKit::WebInputEvent; | 35 using WebKit::WebInputEvent; |
36 using WebKit::WebNavigationPolicy; | 36 using WebKit::WebNavigationPolicy; |
37 using WebKit::WebPopupMenu; | 37 using WebKit::WebPopupMenu; |
38 using WebKit::WebPopupMenuInfo; | 38 using WebKit::WebPopupMenuInfo; |
39 using WebKit::WebRect; | 39 using WebKit::WebRect; |
40 using WebKit::WebScreenInfo; | 40 using WebKit::WebScreenInfo; |
41 using WebKit::WebSize; | 41 using WebKit::WebSize; |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 | 910 |
911 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { | 911 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { |
912 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); | 912 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); |
913 i != plugin_window_moves_.end(); ++i) { | 913 i != plugin_window_moves_.end(); ++i) { |
914 if (i->window == window) { | 914 if (i->window == window) { |
915 plugin_window_moves_.erase(i); | 915 plugin_window_moves_.erase(i); |
916 break; | 916 break; |
917 } | 917 } |
918 } | 918 } |
919 } | 919 } |
OLD | NEW |