OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
6 | 6 |
7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
9 | 9 |
10 namespace webkit { | 10 namespace webkit { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 uint16_t port) { | 166 uint16_t port) { |
167 return PP_ERROR_FAILED; | 167 return PP_ERROR_FAILED; |
168 } | 168 } |
169 | 169 |
170 int32_t MockPluginDelegate::ConnectTcpAddress( | 170 int32_t MockPluginDelegate::ConnectTcpAddress( |
171 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 171 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
172 const struct PP_Flash_NetAddress* addr) { | 172 const struct PP_Flash_NetAddress* addr) { |
173 return PP_ERROR_FAILED; | 173 return PP_ERROR_FAILED; |
174 } | 174 } |
175 | 175 |
| 176 int32_t MockPluginDelegate::ShowContextMenu( |
| 177 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 178 const gfx::Point& position) { |
| 179 return PP_ERROR_FAILED; |
| 180 } |
| 181 |
176 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( | 182 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( |
177 PluginInstance* instance) { | 183 PluginInstance* instance) { |
178 return NULL; | 184 return NULL; |
179 } | 185 } |
180 | 186 |
181 std::string MockPluginDelegate::GetDefaultEncoding() { | 187 std::string MockPluginDelegate::GetDefaultEncoding() { |
182 return "iso-8859-1"; | 188 return "iso-8859-1"; |
183 } | 189 } |
184 | 190 |
185 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, | 191 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, |
(...skipping 12 matching lines...) Expand all Loading... |
198 | 204 |
199 void MockPluginDelegate::SetContentRestriction(int restrictions) { | 205 void MockPluginDelegate::SetContentRestriction(int restrictions) { |
200 } | 206 } |
201 | 207 |
202 void MockPluginDelegate::HasUnsupportedFeature() { | 208 void MockPluginDelegate::HasUnsupportedFeature() { |
203 } | 209 } |
204 | 210 |
205 } // namespace ppapi | 211 } // namespace ppapi |
206 } // namespace webkit | 212 } // namespace webkit |
207 | 213 |
OLD | NEW |