Fix link in German terms of service.
[chromium-blink-merge.git] / content / child / npapi / webplugin_delegate_impl_aura.cc
bloba700e7c44cab1f348ec051c001896c4c8db162e0
1 // Copyright (c) 2011 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/child/npapi/webplugin_delegate_impl.h"
7 #include "content/child/npapi/plugin_instance.h"
8 #include "content/common/cursors/webcursor.h"
10 using blink::WebInputEvent;
12 namespace content {
14 WebPluginDelegateImpl::WebPluginDelegateImpl(WebPlugin* plugin,
15 PluginInstance* instance) {
18 WebPluginDelegateImpl::~WebPluginDelegateImpl() {
21 bool WebPluginDelegateImpl::PlatformInitialize() {
22 return true;
25 void WebPluginDelegateImpl::PlatformDestroyInstance() {
26 // Nothing to do here.
29 void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) {
32 bool WebPluginDelegateImpl::WindowedCreatePlugin() {
33 return true;
36 void WebPluginDelegateImpl::WindowedDestroyWindow() {
39 bool WebPluginDelegateImpl::WindowedReposition(
40 const gfx::Rect& window_rect,
41 const gfx::Rect& clip_rect) {
42 return true;
45 void WebPluginDelegateImpl::WindowedSetWindow() {
48 void WebPluginDelegateImpl::WindowlessUpdateGeometry(
49 const gfx::Rect& window_rect,
50 const gfx::Rect& clip_rect) {
53 void WebPluginDelegateImpl::WindowlessPaint(gfx::NativeDrawingContext context,
54 const gfx::Rect& damage_rect) {
57 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) {
58 return true;
61 bool WebPluginDelegateImpl::PlatformHandleInputEvent(
62 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) {
63 return false;
66 } // namespace content