| 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> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 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/plugin_constants_win.h" | 30 #include "content/common/plugin_constants_win.h" |
| 31 #include "content/public/common/content_constants.h" | 31 #include "content/public/common/content_constants.h" |
| 32 #include "skia/ext/platform_canvas.h" | 32 #include "skia/ext/platform_canvas.h" |
| 33 #include "third_party/WebKit/public/web/WebInputEvent.h" | 33 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 34 #include "ui/gfx/win/dpi.h" | 34 #include "ui/gfx/win/dpi.h" |
| 35 #include "ui/gfx/win/hwnd_util.h" | 35 #include "ui/gfx/win/hwnd_util.h" |
| 36 #include "webkit/common/cursors/webcursor.h" | 36 #include "webkit/common/cursors/webcursor.h" |
| 37 | 37 |
| 38 using WebKit::WebKeyboardEvent; | 38 using blink::WebKeyboardEvent; |
| 39 using WebKit::WebInputEvent; | 39 using blink::WebInputEvent; |
| 40 using WebKit::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"; |
| 47 const wchar_t kPluginFlashThrottle[] = L"FlashThrottle"; | 47 const wchar_t kPluginFlashThrottle[] = L"FlashThrottle"; |
| 48 | 48 |
| 49 // The fastest we are willing to process WM_USER+1 events for Flash. | 49 // The fastest we are willing to process WM_USER+1 events for Flash. |
| 50 // Flash can easily exceed the limits of our CPU if we don't throttle it. | 50 // Flash can easily exceed the limits of our CPU if we don't throttle it. |
| (...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1483 case WM_RBUTTONUP: | 1483 case WM_RBUTTONUP: |
| 1484 ::ReleaseCapture(); | 1484 ::ReleaseCapture(); |
| 1485 break; | 1485 break; |
| 1486 | 1486 |
| 1487 default: | 1487 default: |
| 1488 break; | 1488 break; |
| 1489 } | 1489 } |
| 1490 } | 1490 } |
| 1491 | 1491 |
| 1492 } // namespace content | 1492 } // namespace content |
| OLD | NEW |