Chromium Code Reviews| Index: content/renderer/plugin_delegate_helper.cc |
| diff --git a/content/renderer/plugin_delegate_helper.cc b/content/renderer/plugin_delegate_helper.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..53bca311cd894033ea31f1730a506155b288975d |
| --- /dev/null |
| +++ b/content/renderer/plugin_delegate_helper.cc |
| @@ -0,0 +1,50 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/renderer/plugin_delegate_helper.h" |
| + |
| +#include "ui/gfx/rect.h" |
| +#include "webkit/plugins/ppapi/plugin_module.h" |
|
brettw
2012/11/30 23:18:12
Why is this include necessary?
nilesh
2012/12/01 00:41:35
Removed.
|
| + |
| +namespace content { |
| + |
| +PluginDelegateHelper::~PluginDelegateHelper() { |
| +} |
| + |
| +WebKit::WebPlugin* PluginDelegateHelper::CreatePepperWebPlugin( |
| + const webkit::WebPluginInfo& webplugin_info, |
| + const WebKit::WebPluginParams& params) { |
| + return NULL; |
| +} |
| + |
| +webkit::ppapi::PluginInstance* |
| +PluginDelegateHelper::GetBitmapForOptimizedPluginPaint( |
| + const gfx::Rect& paint_bounds, |
| + TransportDIB** dib, |
| + gfx::Rect* location, |
| + gfx::Rect* clip, |
| + float* scale_factor) { |
| + return NULL; |
| +} |
| + |
| +bool PluginDelegateHelper::IsPluginFocused() const { |
| + return false; |
| +} |
| + |
| +gfx::Rect PluginDelegateHelper::GetCaretBounds() const { |
| + return gfx::Rect(0, 0, 0, 0); |
| +} |
| + |
| +ui::TextInputType PluginDelegateHelper::GetTextInputType() const { |
| + return ui::TEXT_INPUT_TYPE_NONE; |
| +} |
| + |
| +bool PluginDelegateHelper::IsPluginAcceptingCompositionEvents() const { |
| + return false; |
| +} |
| + |
| +bool PluginDelegateHelper::CanComposeInline() const { |
| + return false; |
| +} |
| +} // namespace content |
|
brettw
2012/11/30 23:18:12
Need blank before this.
nilesh
2012/12/01 00:41:35
Done.
|