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

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

Issue 19828007: Hide knowledge of webkit::ppapi::Plugin from chrome. This is part of moving ppapi implementation fr… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 7 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/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_permissions.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 11 #include "ppapi/shared_impl/ppapi_preferences.h"
11 #include "third_party/WebKit/public/platform/WebGamepads.h" 12 #include "third_party/WebKit/public/platform/WebGamepads.h"
12 #include "webkit/plugins/ppapi/mock_platform_image_2d.h" 13 #include "webkit/plugins/ppapi/mock_platform_image_2d.h"
13 #include "webkit/plugins/ppapi/plugin_delegate.h" 14 #include "webkit/plugins/ppapi/plugin_delegate.h"
15 #include "webkit/plugins/ppapi/plugin_module.h"
14 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 16 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
15 17
16 namespace webkit { 18 namespace webkit {
17 namespace ppapi { 19 namespace ppapi {
18 20
19 MockPluginDelegate::MockPluginDelegate() { 21 MockPluginDelegate::MockPluginDelegate() {
20 } 22 }
21 23
22 MockPluginDelegate::~MockPluginDelegate() { 24 MockPluginDelegate::~MockPluginDelegate() {
23 } 25 }
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 404
403 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const { 405 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const {
404 return false; 406 return false;
405 } 407 }
406 408
407 void MockPluginDelegate::HandleDocumentLoad( 409 void MockPluginDelegate::HandleDocumentLoad(
408 PluginInstance* instance, 410 PluginInstance* instance,
409 const WebKit::WebURLResponse& response) { 411 const WebKit::WebURLResponse& response) {
410 } 412 }
411 413
414 content::RendererPpapiHost* MockPluginDelegate::CreateExternalPluginModule(
415 scoped_refptr<PluginModule> module,
416 const base::FilePath& path,
417 ::ppapi::PpapiPermissions permissions,
418 const IPC::ChannelHandle& channel_handle,
419 base::ProcessId plugin_pid,
420 int plugin_child_id) {
421 return NULL;
422 }
423
412 } // namespace ppapi 424 } // namespace ppapi
413 } // namespace webkit 425 } // 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