OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/plugins/npapi/webplugin_delegate_impl.h" | 5 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 #include <gdk/gdkx.h> | 8 #include <gdk/gdkx.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/metrics/stats_counters.h" | 13 #include "base/metrics/stats_counters.h" |
14 #include "skia/ext/platform_canvas.h" | 14 #include "skia/ext/platform_canvas.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
16 #include "ui/base/gtk/gtk_compat.h" | 16 #include "ui/base/gtk/gtk_compat.h" |
17 #include "ui/gfx/blit.h" | 17 #include "ui/gfx/blit.h" |
18 #include "webkit/glue/webcursor.h" | 18 #include "webkit/common/cursors/webcursor.h" |
19 #include "webkit/plugins/npapi/plugin_instance.h" | 19 #include "webkit/plugins/npapi/plugin_instance.h" |
20 #include "webkit/plugins/npapi/webplugin.h" | 20 #include "webkit/plugins/npapi/webplugin.h" |
21 #include "webkit/plugins/plugin_constants.h" | 21 #include "webkit/plugins/plugin_constants.h" |
22 | 22 |
23 #include "third_party/npapi/bindings/npapi_x11.h" | 23 #include "third_party/npapi/bindings/npapi_x11.h" |
24 | 24 |
25 using WebKit::WebKeyboardEvent; | 25 using WebKit::WebKeyboardEvent; |
26 using WebKit::WebInputEvent; | 26 using WebKit::WebInputEvent; |
27 using WebKit::WebMouseEvent; | 27 using WebKit::WebMouseEvent; |
28 | 28 |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // as someone might be setting the cursor in the main process as well. | 744 // as someone might be setting the cursor in the main process as well. |
745 *cursor = current_windowless_cursor_; | 745 *cursor = current_windowless_cursor_; |
746 } | 746 } |
747 #endif | 747 #endif |
748 | 748 |
749 return ret; | 749 return ret; |
750 } | 750 } |
751 | 751 |
752 } // namespace npapi | 752 } // namespace npapi |
753 } // namespace webkit | 753 } // namespace webkit |
OLD | NEW |