OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/renderer/plugin_delegate_helper.h" | |
6 | |
7 #include "ui/gfx/rect.h" | |
8 #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.
| |
9 | |
10 namespace content { | |
11 | |
12 PluginDelegateHelper::~PluginDelegateHelper() { | |
13 } | |
14 | |
15 WebKit::WebPlugin* PluginDelegateHelper::CreatePepperWebPlugin( | |
16 const webkit::WebPluginInfo& webplugin_info, | |
17 const WebKit::WebPluginParams& params) { | |
18 return NULL; | |
19 } | |
20 | |
21 webkit::ppapi::PluginInstance* | |
22 PluginDelegateHelper::GetBitmapForOptimizedPluginPaint( | |
23 const gfx::Rect& paint_bounds, | |
24 TransportDIB** dib, | |
25 gfx::Rect* location, | |
26 gfx::Rect* clip, | |
27 float* scale_factor) { | |
28 return NULL; | |
29 } | |
30 | |
31 bool PluginDelegateHelper::IsPluginFocused() const { | |
32 return false; | |
33 } | |
34 | |
35 gfx::Rect PluginDelegateHelper::GetCaretBounds() const { | |
36 return gfx::Rect(0, 0, 0, 0); | |
37 } | |
38 | |
39 ui::TextInputType PluginDelegateHelper::GetTextInputType() const { | |
40 return ui::TEXT_INPUT_TYPE_NONE; | |
41 } | |
42 | |
43 bool PluginDelegateHelper::IsPluginAcceptingCompositionEvents() const { | |
44 return false; | |
45 } | |
46 | |
47 bool PluginDelegateHelper::CanComposeInline() const { | |
48 return false; | |
49 } | |
50 } // namespace content | |
brettw
2012/11/30 23:18:12
Need blank before this.
nilesh
2012/12/01 00:41:35
Done.
| |
OLD | NEW |