| 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 "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" | 9 #include "content/child/npapi/plugin_instance.h" |
| 10 #include "content/child/npapi/webplugin.h" | 10 #include "content/child/npapi/webplugin.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool WebPluginDelegateImpl::PlatformInitialize() { | 33 bool WebPluginDelegateImpl::PlatformInitialize() { |
| 34 return true; | 34 return true; |
| 35 } | 35 } |
| 36 | 36 |
| 37 void WebPluginDelegateImpl::PlatformDestroyInstance() { | 37 void WebPluginDelegateImpl::PlatformDestroyInstance() { |
| 38 // Nothing to do here. | 38 // Nothing to do here. |
| 39 } | 39 } |
| 40 | 40 |
| 41 void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, | 41 void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { |
| 42 const gfx::Rect& rect) { | |
| 43 } | 42 } |
| 44 | 43 |
| 45 bool WebPluginDelegateImpl::WindowedCreatePlugin() { | 44 bool WebPluginDelegateImpl::WindowedCreatePlugin() { |
| 46 return false; | 45 return false; |
| 47 } | 46 } |
| 48 | 47 |
| 49 void WebPluginDelegateImpl::WindowedDestroyWindow() { | 48 void WebPluginDelegateImpl::WindowedDestroyWindow() { |
| 50 } | 49 } |
| 51 | 50 |
| 52 bool WebPluginDelegateImpl::WindowedReposition( | 51 bool WebPluginDelegateImpl::WindowedReposition( |
| (...skipping 17 matching lines...) Expand all Loading... |
| 70 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { | 69 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { |
| 71 return false; | 70 return false; |
| 72 } | 71 } |
| 73 | 72 |
| 74 bool WebPluginDelegateImpl::PlatformHandleInputEvent( | 73 bool WebPluginDelegateImpl::PlatformHandleInputEvent( |
| 75 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { | 74 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { |
| 76 return false; | 75 return false; |
| 77 } | 76 } |
| 78 | 77 |
| 79 } // content | 78 } // content |
| OLD | NEW |