summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_pepper_helper.cc
blob: f69ca4f6e0a7d2f53c4d7a452a17f1ed71db6f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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/render_view_pepper_helper.h"

#include "ui/gfx/rect.h"

namespace content {

RenderViewPepperHelper::~RenderViewPepperHelper() {
}

WebKit::WebPlugin* RenderViewPepperHelper::CreatePepperWebPlugin(
    const webkit::WebPluginInfo& webplugin_info,
    const WebKit::WebPluginParams& params) {
  return NULL;
}

webkit::ppapi::PluginInstance*
RenderViewPepperHelper::GetBitmapForOptimizedPluginPaint(
    const gfx::Rect& paint_bounds,
    TransportDIB** dib,
    gfx::Rect* location,
    gfx::Rect* clip,
    float* scale_factor) {
  return NULL;
}

bool RenderViewPepperHelper::IsPluginFocused() const {
  return false;
}

gfx::Rect RenderViewPepperHelper::GetCaretBounds() const {
  return gfx::Rect(0, 0, 0, 0);
}

ui::TextInputType RenderViewPepperHelper::GetTextInputType() const {
  return ui::TEXT_INPUT_TYPE_NONE;
}

bool RenderViewPepperHelper::IsPluginAcceptingCompositionEvents() const {
  return false;
}

bool RenderViewPepperHelper::CanComposeInline() const {
  return false;
}

}  // namespace content