| 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 "content/renderer/pepper/fake_pepper_plugin_instance.h" | 7 #include "content/renderer/pepper/fake_pepper_plugin_instance.h" |
| 8 #include "ui/gfx/point.h" | 8 #include "ui/gfx/geometry/point.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 MockRendererPpapiHost::MockRendererPpapiHost(RenderView* render_view, | 12 MockRendererPpapiHost::MockRendererPpapiHost(RenderView* render_view, |
| 13 PP_Instance instance) | 13 PP_Instance instance) |
| 14 : sink_(), | 14 : sink_(), |
| 15 ppapi_host_(&sink_, ppapi::PpapiPermissions()), | 15 ppapi_host_(&sink_, ppapi::PpapiPermissions()), |
| 16 render_view_(render_view), | 16 render_view_(render_view), |
| 17 pp_instance_(instance), | 17 pp_instance_(instance), |
| 18 has_user_gesture_(false), | 18 has_user_gesture_(false), |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 callback.Run(std::vector<int>(nested_msgs.size(), 0)); | 94 callback.Run(std::vector<int>(nested_msgs.size(), 0)); |
| 95 return; | 95 return; |
| 96 } | 96 } |
| 97 | 97 |
| 98 GURL MockRendererPpapiHost::GetDocumentURL(PP_Instance instance) const { | 98 GURL MockRendererPpapiHost::GetDocumentURL(PP_Instance instance) const { |
| 99 NOTIMPLEMENTED(); | 99 NOTIMPLEMENTED(); |
| 100 return GURL(); | 100 return GURL(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 } // namespace content | 103 } // namespace content |
| OLD | NEW |