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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl_android.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) 2012 The Chromium Authors. All rights reserved. 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 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 "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "content/child/npapi/plugin_instance.h" 9 #include "content/child/npapi/plugin_instance.h"
10 #include "content/child/npapi/webplugin.h" 10 #include "content/child/npapi/webplugin.h"
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 32
33 bool WebPluginDelegateImpl::PlatformInitialize() { 33 bool WebPluginDelegateImpl::PlatformInitialize() {
34 return true; 34 return true;
35 } 35 }
36 36
37 void WebPluginDelegateImpl::PlatformDestroyInstance() { 37 void WebPluginDelegateImpl::PlatformDestroyInstance() {
38 // Nothing to do here. 38 // Nothing to do here.
39 } 39 }
40 40
41 void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, 41 void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) {
42 const gfx::Rect& rect) {
43 } 42 }
44 43
45 bool WebPluginDelegateImpl::WindowedCreatePlugin() { 44 bool WebPluginDelegateImpl::WindowedCreatePlugin() {
46 return false; 45 return false;
47 } 46 }
48 47
49 void WebPluginDelegateImpl::WindowedDestroyWindow() { 48 void WebPluginDelegateImpl::WindowedDestroyWindow() {
50 } 49 }
51 50
52 bool WebPluginDelegateImpl::WindowedReposition( 51 bool WebPluginDelegateImpl::WindowedReposition(
(...skipping 17 matching lines...) Expand all
70 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { 69 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) {
71 return false; 70 return false;
72 } 71 }
73 72
74 bool WebPluginDelegateImpl::PlatformHandleInputEvent( 73 bool WebPluginDelegateImpl::PlatformHandleInputEvent(
75 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { 74 const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) {
76 return false; 75 return false;
77 } 76 }
78 77
79 } // content 78 } // content
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl.h ('k') | content/child/npapi/webplugin_delegate_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698