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

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

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 int MockRendererPpapiHost::GetRoutingIDForWidget(PP_Instance instance) const { 60 int MockRendererPpapiHost::GetRoutingIDForWidget(PP_Instance instance) const {
61 return 0; 61 return 0;
62 } 62 }
63 63
64 gfx::Point MockRendererPpapiHost::PluginPointToRenderView( 64 gfx::Point MockRendererPpapiHost::PluginPointToRenderView(
65 PP_Instance instance, 65 PP_Instance instance,
66 const gfx::Point& pt) const { 66 const gfx::Point& pt) const {
67 return gfx::Point(); 67 return gfx::Point();
68 } 68 }
69 69
70 GURL MockRendererPpapiHost::GetDocumentURLForInstance(
71 PP_Instance instance) const {
72 return GURL();
73 }
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

Powered by Google App Engine
This is Rietveld 408576698