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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 10578043: Hook up content/renderer to the PPAPI host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 8 years, 5 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { 50 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) {
51 } 51 }
52 52
53 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { 53 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
54 } 54 }
55 55
56 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { 56 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
57 } 57 }
58 58
59 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
60 MockPluginDelegate::CreateResourceCreationAPI(PluginInstance* instance) {
61 return scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>();
62 }
63
59 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { 64 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() {
60 return NULL; 65 return NULL;
61 } 66 }
62 67
63 WebKit::WebPlugin* MockPluginDelegate::CreatePluginReplacement( 68 WebKit::WebPlugin* MockPluginDelegate::CreatePluginReplacement(
64 const FilePath& file_path) { 69 const FilePath& file_path) {
65 return NULL; 70 return NULL;
66 } 71 }
67 72
68 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( 73 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D(
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 MockPluginDelegate::CreateClipboardClient() const { 459 MockPluginDelegate::CreateClipboardClient() const {
455 return NULL; 460 return NULL;
456 } 461 }
457 462
458 std::string MockPluginDelegate::GetDeviceID() { 463 std::string MockPluginDelegate::GetDeviceID() {
459 return std::string(); 464 return std::string();
460 } 465 }
461 466
462 } // namespace ppapi 467 } // namespace ppapi
463 } // namespace webkit 468 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698