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 <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/process/process_handle.h" | 14 #include "base/process/process_handle.h" |
13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "build/build_config.h" |
15 #include "content/child/npapi/plugin_instance.h" | 18 #include "content/child/npapi/plugin_instance.h" |
16 #include "content/child/npapi/plugin_lib.h" | 19 #include "content/child/npapi/plugin_lib.h" |
17 #include "third_party/WebKit/public/web/WebInputEvent.h" | 20 #include "third_party/WebKit/public/web/WebInputEvent.h" |
18 | 21 |
19 using blink::WebCursorInfo; | 22 using blink::WebCursorInfo; |
20 using blink::WebInputEvent; | 23 using blink::WebInputEvent; |
21 | 24 |
22 namespace content { | 25 namespace content { |
23 | 26 |
24 WebPluginDelegateImpl* WebPluginDelegateImpl::Create( | 27 WebPluginDelegateImpl* WebPluginDelegateImpl::Create( |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 case WebInputEvent::MouseUp: | 233 case WebInputEvent::MouseUp: |
231 case WebInputEvent::KeyDown: | 234 case WebInputEvent::KeyDown: |
232 case WebInputEvent::KeyUp: | 235 case WebInputEvent::KeyUp: |
233 return true; | 236 return true; |
234 default: | 237 default: |
235 return false; | 238 return false; |
236 } | 239 } |
237 } | 240 } |
238 | 241 |
239 } // namespace content | 242 } // namespace content |
OLD | NEW |