OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "webkit/glue/plugins/webplugin_delegate_impl.h" | 5 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
11 #include <gdk/gdkx.h> | 11 #include <gdk/gdkx.h> |
12 | 12 |
13 #include "app/gfx/blit.h" | 13 #include "app/gfx/blit.h" |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
17 #include "base/process_util.h" | 17 #include "base/process_util.h" |
18 #include "base/stats_counters.h" | 18 #include "base/stats_counters.h" |
19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
20 #include "skia/ext/platform_canvas.h" | 20 #include "skia/ext/platform_canvas.h" |
21 #include "webkit/api/public/WebCursorInfo.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" |
22 #include "webkit/api/public/WebInputEvent.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
23 #include "webkit/glue/glue_util.h" | 23 #include "webkit/glue/glue_util.h" |
24 #include "webkit/glue/webplugin.h" | 24 #include "webkit/glue/webplugin.h" |
25 #include "webkit/glue/plugins/gtk_plugin_container.h" | 25 #include "webkit/glue/plugins/gtk_plugin_container.h" |
26 #include "webkit/glue/plugins/plugin_constants_win.h" | 26 #include "webkit/glue/plugins/plugin_constants_win.h" |
27 #include "webkit/glue/plugins/plugin_instance.h" | 27 #include "webkit/glue/plugins/plugin_instance.h" |
28 #include "webkit/glue/plugins/plugin_lib.h" | 28 #include "webkit/glue/plugins/plugin_lib.h" |
29 #include "webkit/glue/plugins/plugin_list.h" | 29 #include "webkit/glue/plugins/plugin_list.h" |
30 #include "webkit/glue/plugins/plugin_stream_url.h" | 30 #include "webkit/glue/plugins/plugin_stream_url.h" |
31 #include "webkit/glue/webkit_glue.h" | 31 #include "webkit/glue/webkit_glue.h" |
32 | 32 |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 if (event->event == WM_MOUSEMOVE) { | 705 if (event->event == WM_MOUSEMOVE) { |
706 // Snag a reference to the current cursor ASAP in case the plugin modified | 706 // Snag a reference to the current cursor ASAP in case the plugin modified |
707 // it. There is a nasty race condition here with the multiprocess browser | 707 // it. There is a nasty race condition here with the multiprocess browser |
708 // as someone might be setting the cursor in the main process as well. | 708 // as someone might be setting the cursor in the main process as well. |
709 *cursor = current_windowless_cursor_; | 709 *cursor = current_windowless_cursor_; |
710 } | 710 } |
711 #endif | 711 #endif |
712 | 712 |
713 return ret; | 713 return ret; |
714 } | 714 } |
OLD | NEW |