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

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

Issue 23684023: Move the WebPluginResourceClient interface to its own header. Also fix up method order in webplugin… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/npapi/webplugin_delegate_impl.h" 5 #include "content/child/npapi/webplugin_delegate_impl.h"
6 6
7 #include "content/child/npapi/plugin_instance.h" 7 #include "content/child/npapi/plugin_instance.h"
8 #include "webkit/common/cursors/webcursor.h" 8 #include "webkit/common/cursors/webcursor.h"
9 9
10 using WebKit::WebInputEvent; 10 using WebKit::WebInputEvent;
11 11
12 namespace content { 12 namespace content {
13 13
14 WebPluginDelegateImpl::WebPluginDelegateImpl(PluginInstance* instance) { 14 WebPluginDelegateImpl::WebPluginDelegateImpl(PluginInstance* instance) {
15 } 15 }
16 16
17 WebPluginDelegateImpl::~WebPluginDelegateImpl() { 17 WebPluginDelegateImpl::~WebPluginDelegateImpl() {
18 } 18 }
19 19
20 bool WebPluginDelegateImpl::PlatformInitialize() { 20 bool WebPluginDelegateImpl::PlatformInitialize() {
21 return true; 21 return true;
22 } 22 }
23 23
24 void WebPluginDelegateImpl::PlatformDestroyInstance() { 24 void WebPluginDelegateImpl::PlatformDestroyInstance() {
25 // Nothing to do here. 25 // Nothing to do here.
26 } 26 }
27 27
28 void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, 28 void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) {
29 const gfx::Rect& rect) {
30 } 29 }
31 30
32 bool WebPluginDelegateImpl::WindowedCreatePlugin() { 31 bool WebPluginDelegateImpl::WindowedCreatePlugin() {
33 return true; 32 return true;
34 } 33 }
35 34
36 void WebPluginDelegateImpl::WindowedDestroyWindow() { 35 void WebPluginDelegateImpl::WindowedDestroyWindow() {
37 } 36 }
38 37
39 bool WebPluginDelegateImpl::WindowedReposition( 38 bool WebPluginDelegateImpl::WindowedReposition(
(...skipping 17 matching lines...) Expand all
57 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { 56 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) {
58 return true; 57 return true;
59 } 58 }
60 59
61 bool WebPluginDelegateImpl::PlatformHandleInputEvent( 60 bool WebPluginDelegateImpl::PlatformHandleInputEvent(
62 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { 61 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) {
63 return false; 62 return false;
64 } 63 }
65 64
66 } // namespace content 65 } // namespace content
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_android.cc ('k') | content/child/npapi/webplugin_delegate_impl_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698