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

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

Issue 11516020: Refactor PPB_Flash GetLocalTimeZoneOffset to the new PPAPI 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 364
365 void MockPluginDelegate::DidStopLoading() { 365 void MockPluginDelegate::DidStopLoading() {
366 } 366 }
367 367
368 void MockPluginDelegate::SetContentRestriction(int restrictions) { 368 void MockPluginDelegate::SetContentRestriction(int restrictions) {
369 } 369 }
370 370
371 void MockPluginDelegate::SaveURLAs(const GURL& url) { 371 void MockPluginDelegate::SaveURLAs(const GURL& url) {
372 } 372 }
373 373
374 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) {
375 return 0.0;
376 }
377
378 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( 374 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory(
379 uint32_t size) { 375 uint32_t size) {
380 return NULL; 376 return NULL;
381 } 377 }
382 378
383 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 379 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
384 return ::ppapi::Preferences(); 380 return ::ppapi::Preferences();
385 } 381 }
386 382
387 bool MockPluginDelegate::LockMouse(PluginInstance* instance) { 383 bool MockPluginDelegate::LockMouse(PluginInstance* instance) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 420 }
425 421
426 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( 422 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions(
427 const GURL& document_url, 423 const GURL& document_url,
428 const GURL& plugin_url) { 424 const GURL& plugin_url) {
429 return PP_FLASHLSORESTRICTIONS_NONE; 425 return PP_FLASHLSORESTRICTIONS_NONE;
430 } 426 }
431 427
432 } // namespace ppapi 428 } // namespace ppapi
433 } // namespace webkit 429 } // 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