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 "content/child/npapi/webplugin_delegate_impl.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/child/npapi/plugin_instance.h" |
| 10 #include "content/child/npapi/webplugin.h" |
9 #include "webkit/common/cursors/webcursor.h" | 11 #include "webkit/common/cursors/webcursor.h" |
10 #include "webkit/plugins/npapi/plugin_instance.h" | |
11 #include "webkit/plugins/npapi/webplugin.h" | |
12 | 12 |
13 using WebKit::WebInputEvent; | 13 using WebKit::WebInputEvent; |
14 | 14 |
15 namespace webkit { | 15 namespace content { |
16 namespace npapi { | |
17 | 16 |
18 WebPluginDelegateImpl::WebPluginDelegateImpl( | 17 WebPluginDelegateImpl::WebPluginDelegateImpl( |
19 PluginInstance* instance) | 18 PluginInstance* instance) |
20 : windowed_handle_(0), | 19 : windowed_handle_(0), |
21 windowed_did_set_window_(false), | 20 windowed_did_set_window_(false), |
22 windowless_(false), | 21 windowless_(false), |
23 plugin_(NULL), | 22 plugin_(NULL), |
24 instance_(instance), | 23 instance_(instance), |
25 quirks_(0), | 24 quirks_(0), |
26 handle_event_depth_(0), | 25 handle_event_depth_(0), |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 69 |
71 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { | 70 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { |
72 return false; | 71 return false; |
73 } | 72 } |
74 | 73 |
75 bool WebPluginDelegateImpl::PlatformHandleInputEvent( | 74 bool WebPluginDelegateImpl::PlatformHandleInputEvent( |
76 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { | 75 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { |
77 return false; | 76 return false; |
78 } | 77 } |
79 | 78 |
80 } // namespace npapi | 79 } // content |
81 } // namespace webkit | |
OLD | NEW |