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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 11411102: Deprecate and remove unused PPB_Flash functions. (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 | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_flash.idl » ('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 "content/renderer/pepper/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <cstddef> 8 #include <cstddef>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 render_view_->routing_id(), url, referrer)); 1418 render_view_->routing_id(), url, referrer));
1419 } 1419 }
1420 1420
1421 double PepperPluginDelegateImpl::GetLocalTimeZoneOffset(base::Time t) { 1421 double PepperPluginDelegateImpl::GetLocalTimeZoneOffset(base::Time t) {
1422 double result = 0.0; 1422 double result = 0.0;
1423 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset( 1423 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset(
1424 t, &result)); 1424 t, &result));
1425 return result; 1425 return result;
1426 } 1426 }
1427 1427
1428 std::string PepperPluginDelegateImpl::GetDeviceID() {
1429 std::string result;
1430 render_view_->Send(new PepperMsg_GetDeviceID(&result));
1431 return result;
1432 }
1433
1434 PP_FlashLSORestrictions PepperPluginDelegateImpl::GetLocalDataRestrictions( 1428 PP_FlashLSORestrictions PepperPluginDelegateImpl::GetLocalDataRestrictions(
1435 const GURL& document_url, 1429 const GURL& document_url,
1436 const GURL& plugin_url) { 1430 const GURL& plugin_url) {
1437 PP_FlashLSORestrictions restrictions = PP_FLASHLSORESTRICTIONS_NONE; 1431 PP_FlashLSORestrictions restrictions = PP_FLASHLSORESTRICTIONS_NONE;
1438 render_view_->Send( 1432 render_view_->Send(
1439 new PepperMsg_GetLocalDataRestrictions(document_url, plugin_url, 1433 new PepperMsg_GetLocalDataRestrictions(document_url, plugin_url,
1440 &restrictions)); 1434 &restrictions));
1441 return restrictions; 1435 return restrictions;
1442 } 1436 }
1443 1437
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 RenderWidgetFullscreenPepper* container = 1798 RenderWidgetFullscreenPepper* container =
1805 static_cast<RenderWidgetFullscreenPepper*>( 1799 static_cast<RenderWidgetFullscreenPepper*>(
1806 instance->fullscreen_container()); 1800 instance->fullscreen_container());
1807 return container->mouse_lock_dispatcher(); 1801 return container->mouse_lock_dispatcher();
1808 } else { 1802 } else {
1809 return render_view_->mouse_lock_dispatcher(); 1803 return render_view_->mouse_lock_dispatcher();
1810 } 1804 }
1811 } 1805 }
1812 1806
1813 } // namespace content 1807 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_flash.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698