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 "base/basictypes.h" | 14 #include "base/basictypes.h" |
14 #include "base/file_util.h" | 15 #include "base/file_util.h" |
15 #include "base/gfx/blit.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 "webkit/api/public/WebCursorInfo.h" | 20 #include "webkit/api/public/WebCursorInfo.h" |
21 #include "webkit/api/public/WebInputEvent.h" | 21 #include "webkit/api/public/WebInputEvent.h" |
22 #include "webkit/glue/glue_util.h" | 22 #include "webkit/glue/glue_util.h" |
23 #include "webkit/glue/webplugin.h" | 23 #include "webkit/glue/webplugin.h" |
24 #include "webkit/glue/plugins/gtk_plugin_container.h" | 24 #include "webkit/glue/plugins/gtk_plugin_container.h" |
25 #include "webkit/glue/plugins/plugin_constants_win.h" | 25 #include "webkit/glue/plugins/plugin_constants_win.h" |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 if (event->event == WM_MOUSEMOVE) { | 701 if (event->event == WM_MOUSEMOVE) { |
702 // Snag a reference to the current cursor ASAP in case the plugin modified | 702 // Snag a reference to the current cursor ASAP in case the plugin modified |
703 // it. There is a nasty race condition here with the multiprocess browser | 703 // it. There is a nasty race condition here with the multiprocess browser |
704 // as someone might be setting the cursor in the main process as well. | 704 // as someone might be setting the cursor in the main process as well. |
705 *cursor = current_windowless_cursor_; | 705 *cursor = current_windowless_cursor_; |
706 } | 706 } |
707 #endif | 707 #endif |
708 | 708 |
709 return ret; | 709 return ret; |
710 } | 710 } |
OLD | NEW |