| 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/shared_impl/ppapi_preferences.h" | 10 #include "ppapi/shared_impl/ppapi_preferences.h" |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 } | 386 } |
| 387 | 387 |
| 388 std::string MockPluginDelegate::GetDefaultEncoding() { | 388 std::string MockPluginDelegate::GetDefaultEncoding() { |
| 389 return "iso-8859-1"; | 389 return "iso-8859-1"; |
| 390 } | 390 } |
| 391 | 391 |
| 392 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, | 392 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, |
| 393 double maximum_factor) { | 393 double maximum_factor) { |
| 394 } | 394 } |
| 395 | 395 |
| 396 std::string MockPluginDelegate::ResolveProxy(const GURL& url) { | |
| 397 return std::string(); | |
| 398 } | |
| 399 | |
| 400 void MockPluginDelegate::DidStartLoading() { | 396 void MockPluginDelegate::DidStartLoading() { |
| 401 } | 397 } |
| 402 | 398 |
| 403 void MockPluginDelegate::DidStopLoading() { | 399 void MockPluginDelegate::DidStopLoading() { |
| 404 } | 400 } |
| 405 | 401 |
| 406 void MockPluginDelegate::SetContentRestriction(int restrictions) { | 402 void MockPluginDelegate::SetContentRestriction(int restrictions) { |
| 407 } | 403 } |
| 408 | 404 |
| 409 void MockPluginDelegate::SaveURLAs(const GURL& url) { | 405 void MockPluginDelegate::SaveURLAs(const GURL& url) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 } | 458 } |
| 463 | 459 |
| 464 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 460 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
| 465 const GURL& document_url, | 461 const GURL& document_url, |
| 466 const GURL& plugin_url) { | 462 const GURL& plugin_url) { |
| 467 return PP_FLASHLSORESTRICTIONS_NONE; | 463 return PP_FLASHLSORESTRICTIONS_NONE; |
| 468 } | 464 } |
| 469 | 465 |
| 470 } // namespace ppapi | 466 } // namespace ppapi |
| 471 } // namespace webkit | 467 } // namespace webkit |
| OLD | NEW |