OLD | NEW |
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 Loading... |
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 |
OLD | NEW |