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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 } | 393 } |
394 | 394 |
395 std::string MockPluginDelegate::GetDefaultEncoding() { | 395 std::string MockPluginDelegate::GetDefaultEncoding() { |
396 return "iso-8859-1"; | 396 return "iso-8859-1"; |
397 } | 397 } |
398 | 398 |
399 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, | 399 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, |
400 double maximum_factor) { | 400 double maximum_factor) { |
401 } | 401 } |
402 | 402 |
403 std::string MockPluginDelegate::ResolveProxy(const GURL& url) { | |
404 return std::string(); | |
405 } | |
406 | |
407 void MockPluginDelegate::DidStartLoading() { | 403 void MockPluginDelegate::DidStartLoading() { |
408 } | 404 } |
409 | 405 |
410 void MockPluginDelegate::DidStopLoading() { | 406 void MockPluginDelegate::DidStopLoading() { |
411 } | 407 } |
412 | 408 |
413 void MockPluginDelegate::SetContentRestriction(int restrictions) { | 409 void MockPluginDelegate::SetContentRestriction(int restrictions) { |
414 } | 410 } |
415 | 411 |
416 void MockPluginDelegate::SaveURLAs(const GURL& url) { | 412 void MockPluginDelegate::SaveURLAs(const GURL& url) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 } | 465 } |
470 | 466 |
471 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 467 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
472 const GURL& document_url, | 468 const GURL& document_url, |
473 const GURL& plugin_url) { | 469 const GURL& plugin_url) { |
474 return PP_FLASHLSORESTRICTIONS_NONE; | 470 return PP_FLASHLSORESTRICTIONS_NONE; |
475 } | 471 } |
476 | 472 |
477 } // namespace ppapi | 473 } // namespace ppapi |
478 } // namespace webkit | 474 } // namespace webkit |
OLD | NEW |