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.
5 #include "content/renderer/render_view_pepper_helper.h"
7 #include "ui/gfx/rect.h"
11 RenderViewPepperHelper::~RenderViewPepperHelper() {
14 WebKit::WebPlugin
* RenderViewPepperHelper::CreatePepperWebPlugin(
15 const webkit::WebPluginInfo
& webplugin_info
,
16 const WebKit::WebPluginParams
& params
) {
20 webkit::ppapi::PluginInstance
*
21 RenderViewPepperHelper::GetBitmapForOptimizedPluginPaint(
22 const gfx::Rect
& paint_bounds
,
26 float* scale_factor
) {
30 bool RenderViewPepperHelper::IsPluginFocused() const {
34 gfx::Rect
RenderViewPepperHelper::GetCaretBounds() const {
35 return gfx::Rect(0, 0, 0, 0);
38 ui::TextInputType
RenderViewPepperHelper::GetTextInputType() const {
39 return ui::TEXT_INPUT_TYPE_NONE
;
42 bool RenderViewPepperHelper::IsPluginAcceptingCompositionEvents() const {
46 bool RenderViewPepperHelper::CanComposeInline() const {
50 } // namespace content