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 "content/child/npapi/webplugin_delegate_impl.h" | 5 #include "content/child/npapi/webplugin_delegate_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "base/metrics/stats_counters.h" | 17 #include "base/metrics/stats_counters.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/stringprintf.h" | 19 #include "base/strings/stringprintf.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #include "base/version.h" | 21 #include "base/version.h" |
22 #include "base/win/iat_patch_function.h" | 22 #include "base/win/iat_patch_function.h" |
23 #include "base/win/registry.h" | 23 #include "base/win/registry.h" |
24 #include "base/win/windows_version.h" | 24 #include "base/win/windows_version.h" |
25 #include "content/child/npapi/plugin_instance.h" | 25 #include "content/child/npapi/plugin_instance.h" |
26 #include "content/child/npapi/plugin_lib.h" | 26 #include "content/child/npapi/plugin_lib.h" |
27 #include "content/child/npapi/plugin_stream_url.h" | 27 #include "content/child/npapi/plugin_stream_url.h" |
28 #include "content/child/npapi/webplugin.h" | 28 #include "content/child/npapi/webplugin.h" |
29 #include "content/child/npapi/webplugin_ime_win.h" | 29 #include "content/child/npapi/webplugin_ime_win.h" |
| 30 #include "content/common/cursors/webcursor.h" |
30 #include "content/common/plugin_constants_win.h" | 31 #include "content/common/plugin_constants_win.h" |
31 #include "content/public/common/content_constants.h" | 32 #include "content/public/common/content_constants.h" |
32 #include "skia/ext/platform_canvas.h" | 33 #include "skia/ext/platform_canvas.h" |
33 #include "third_party/WebKit/public/web/WebInputEvent.h" | 34 #include "third_party/WebKit/public/web/WebInputEvent.h" |
34 #include "ui/gfx/win/dpi.h" | 35 #include "ui/gfx/win/dpi.h" |
35 #include "ui/gfx/win/hwnd_util.h" | 36 #include "ui/gfx/win/hwnd_util.h" |
36 #include "webkit/common/cursors/webcursor.h" | |
37 | 37 |
38 using blink::WebKeyboardEvent; | 38 using blink::WebKeyboardEvent; |
39 using blink::WebInputEvent; | 39 using blink::WebInputEvent; |
40 using blink::WebMouseEvent; | 40 using blink::WebMouseEvent; |
41 | 41 |
42 namespace content { | 42 namespace content { |
43 | 43 |
44 namespace { | 44 namespace { |
45 | 45 |
46 const wchar_t kWebPluginDelegateProperty[] = L"WebPluginDelegateProperty"; | 46 const wchar_t kWebPluginDelegateProperty[] = L"WebPluginDelegateProperty"; |
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1521 case WM_RBUTTONUP: | 1521 case WM_RBUTTONUP: |
1522 ::ReleaseCapture(); | 1522 ::ReleaseCapture(); |
1523 break; | 1523 break; |
1524 | 1524 |
1525 default: | 1525 default: |
1526 break; | 1526 break; |
1527 } | 1527 } |
1528 } | 1528 } |
1529 | 1529 |
1530 } // namespace content | 1530 } // namespace content |
OLD | NEW |