Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: content/child/npapi/webplugin_delegate_impl_aura.cc

Issue 1851093005: Remove content/child/npapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_combined_01_02
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "content/child/npapi/webplugin_delegate_impl.h"
6
7 #include "content/child/npapi/plugin_instance.h"
8 #include "content/common/cursors/webcursor.h"
9
10 using blink::WebInputEvent;
11
12 namespace content {
13
14 WebPluginDelegateImpl::WebPluginDelegateImpl(WebPlugin* plugin,
15 PluginInstance* instance) {
16 }
17
18 WebPluginDelegateImpl::~WebPluginDelegateImpl() {
19 }
20
21 bool WebPluginDelegateImpl::PlatformInitialize() {
22 return true;
23 }
24
25 void WebPluginDelegateImpl::PlatformDestroyInstance() {
26 // Nothing to do here.
27 }
28
29 void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) {
30 }
31
32 void WebPluginDelegateImpl::WindowlessUpdateGeometry(
33 const gfx::Rect& window_rect,
34 const gfx::Rect& clip_rect) {
35 }
36
37 void WebPluginDelegateImpl::WindowlessPaint(gfx::NativeDrawingContext context,
38 const gfx::Rect& damage_rect) {
39 }
40
41 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) {
42 return true;
43 }
44
45 bool WebPluginDelegateImpl::PlatformHandleInputEvent(
46 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) {
47 return false;
48 }
49
50 } // namespace content
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_android.cc ('k') | content/child/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698