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

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

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 bool should_close_source) { 77 bool should_close_source) {
78 NOTIMPLEMENTED(); 78 NOTIMPLEMENTED();
79 return IPC::InvalidPlatformFileForTransit(); 79 return IPC::InvalidPlatformFileForTransit();
80 } 80 }
81 81
82 bool MockRendererPpapiHost::IsRunningInProcess() const { 82 bool MockRendererPpapiHost::IsRunningInProcess() const {
83 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
84 return false; 84 return false;
85 } 85 }
86 86
87 void MockRendererPpapiHost::CreateBrowserResourceHost(
88 PP_Instance instance,
89 const IPC::Message& nested_msg,
90 const base::Callback<void(int)>& callback) const {
91 NOTIMPLEMENTED();
92 callback.Run(0);
93 return;
94 }
95
87 } // namespace content 96 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/mock_renderer_ppapi_host.h ('k') | content/renderer/pepper/pepper_browser_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698