| 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 23 matching lines...) Expand all Loading... |
| 34 return NULL; | 34 return NULL; |
| 35 } | 35 } |
| 36 | 36 |
| 37 RenderView* MockRendererPpapiHost::GetRenderViewForInstance( | 37 RenderView* MockRendererPpapiHost::GetRenderViewForInstance( |
| 38 PP_Instance instance) const { | 38 PP_Instance instance) const { |
| 39 if (instance == pp_instance_) | 39 if (instance == pp_instance_) |
| 40 return render_view_; | 40 return render_view_; |
| 41 return NULL; | 41 return NULL; |
| 42 } | 42 } |
| 43 | 43 |
| 44 WebKit::WebPluginContainer* MockRendererPpapiHost::GetContainerForInstance( | 44 blink::WebPluginContainer* MockRendererPpapiHost::GetContainerForInstance( |
| 45 PP_Instance instance) const { | 45 PP_Instance instance) const { |
| 46 NOTIMPLEMENTED(); | 46 NOTIMPLEMENTED(); |
| 47 return NULL; | 47 return NULL; |
| 48 } | 48 } |
| 49 | 49 |
| 50 base::ProcessId MockRendererPpapiHost::GetPluginPID() const { | 50 base::ProcessId MockRendererPpapiHost::GetPluginPID() const { |
| 51 NOTIMPLEMENTED(); | 51 NOTIMPLEMENTED(); |
| 52 return base::kNullProcessId; | 52 return base::kNullProcessId; |
| 53 } | 53 } |
| 54 | 54 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 85 callback.Run(std::vector<int>(nested_msgs.size(), 0)); | 85 callback.Run(std::vector<int>(nested_msgs.size(), 0)); |
| 86 return; | 86 return; |
| 87 } | 87 } |
| 88 | 88 |
| 89 GURL MockRendererPpapiHost::GetDocumentURL(PP_Instance instance) const { | 89 GURL MockRendererPpapiHost::GetDocumentURL(PP_Instance instance) const { |
| 90 NOTIMPLEMENTED(); | 90 NOTIMPLEMENTED(); |
| 91 return GURL(); | 91 return GURL(); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace content | 94 } // namespace content |
| OLD | NEW |