| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 } | 79 } |
| 80 | 80 |
| 81 void MockRendererPpapiHost::CreateBrowserResourceHosts( | 81 void MockRendererPpapiHost::CreateBrowserResourceHosts( |
| 82 PP_Instance instance, | 82 PP_Instance instance, |
| 83 const std::vector<IPC::Message>& nested_msgs, | 83 const std::vector<IPC::Message>& nested_msgs, |
| 84 const base::Callback<void(const std::vector<int>&)>& callback) const { | 84 const base::Callback<void(const std::vector<int>&)>& callback) const { |
| 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 { |
| 90 NOTIMPLEMENTED(); |
| 91 return GURL(); |
| 92 } |
| 93 |
| 89 } // namespace content | 94 } // namespace content |
| OLD | NEW |