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

Side by Side Diff: content/renderer/pepper/mock_renderer_ppapi_host.cc

Issue 14371021: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase, track src/webkit gypi changes. Created 7 years, 7 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
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/renderer/pepper/mock_renderer_ppapi_host.h" 5 #include "content/renderer/pepper/mock_renderer_ppapi_host.h"
6 6
7 #include "ui/gfx/point.h" 7 #include "ui/gfx/point.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 NOTIMPLEMENTED(); 46 NOTIMPLEMENTED();
47 return NULL; 47 return NULL;
48 } 48 }
49 49
50 webkit::ppapi::PluginDelegate::PlatformGraphics2D* 50 webkit::ppapi::PluginDelegate::PlatformGraphics2D*
51 MockRendererPpapiHost::GetPlatformGraphics2D(PP_Resource resource) { 51 MockRendererPpapiHost::GetPlatformGraphics2D(PP_Resource resource) {
52 NOTIMPLEMENTED(); 52 NOTIMPLEMENTED();
53 return NULL; 53 return NULL;
54 } 54 }
55 55
56 base::ProcessId MockRendererPpapiHost::GetPluginPID() const {
57 NOTIMPLEMENTED();
58 return base::kNullProcessId;
59 }
60
56 bool MockRendererPpapiHost::HasUserGesture(PP_Instance instance) const { 61 bool MockRendererPpapiHost::HasUserGesture(PP_Instance instance) const {
57 return has_user_gesture_; 62 return has_user_gesture_;
58 } 63 }
59 64
60 int MockRendererPpapiHost::GetRoutingIDForWidget(PP_Instance instance) const { 65 int MockRendererPpapiHost::GetRoutingIDForWidget(PP_Instance instance) const {
61 return 0; 66 return 0;
62 } 67 }
63 68
64 gfx::Point MockRendererPpapiHost::PluginPointToRenderView( 69 gfx::Point MockRendererPpapiHost::PluginPointToRenderView(
65 PP_Instance instance, 70 PP_Instance instance,
66 const gfx::Point& pt) const { 71 const gfx::Point& pt) const {
67 return gfx::Point(); 72 return gfx::Point();
68 } 73 }
69 74
70 IPC::PlatformFileForTransit MockRendererPpapiHost::ShareHandleWithRemote( 75 IPC::PlatformFileForTransit MockRendererPpapiHost::ShareHandleWithRemote(
71 base::PlatformFile handle, 76 base::PlatformFile handle,
72 bool should_close_source) { 77 bool should_close_source) {
73 NOTIMPLEMENTED(); 78 NOTIMPLEMENTED();
74 return IPC::InvalidPlatformFileForTransit(); 79 return IPC::InvalidPlatformFileForTransit();
75 } 80 }
76 81
77 bool MockRendererPpapiHost::IsRunningInProcess() const { 82 bool MockRendererPpapiHost::IsRunningInProcess() const {
78 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
79 return false; 84 return false;
80 } 85 }
81 86
82 } // namespace content 87 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/mock_renderer_ppapi_host.h ('k') | content/renderer/pepper/pepper_in_process_resource_creation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698