OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/child/npapi/plugin_instance.h" | 7 #include "content/child/npapi/plugin_instance.h" |
8 #include "webkit/common/cursors/webcursor.h" | 8 #include "webkit/common/cursors/webcursor.h" |
9 | 9 |
10 using WebKit::WebInputEvent; | 10 using WebKit::WebInputEvent; |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 WebPluginDelegateImpl::WebPluginDelegateImpl(PluginInstance* instance) { | 14 WebPluginDelegateImpl::WebPluginDelegateImpl(WebPlugin* plugin, |
| 15 PluginInstance* instance) { |
15 } | 16 } |
16 | 17 |
17 WebPluginDelegateImpl::~WebPluginDelegateImpl() { | 18 WebPluginDelegateImpl::~WebPluginDelegateImpl() { |
18 } | 19 } |
19 | 20 |
20 bool WebPluginDelegateImpl::PlatformInitialize() { | 21 bool WebPluginDelegateImpl::PlatformInitialize() { |
21 return true; | 22 return true; |
22 } | 23 } |
23 | 24 |
24 void WebPluginDelegateImpl::PlatformDestroyInstance() { | 25 void WebPluginDelegateImpl::PlatformDestroyInstance() { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { | 57 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { |
57 return true; | 58 return true; |
58 } | 59 } |
59 | 60 |
60 bool WebPluginDelegateImpl::PlatformHandleInputEvent( | 61 bool WebPluginDelegateImpl::PlatformHandleInputEvent( |
61 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { | 62 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { |
62 return false; | 63 return false; |
63 } | 64 } |
64 | 65 |
65 } // namespace content | 66 } // namespace content |
OLD | NEW |