Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 11415140: Refactor 3 PPB_Flash functions to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698