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

Unified Diff: webkit/plugins/ppapi/ppb_flash_impl.cc

Issue 11413200: Refactored PPB_Flash GetSettings to the new pepper 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_flash_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_flash_impl.cc b/webkit/plugins/ppapi/ppb_flash_impl.cc
index 43e9ba22bb73de76af8f634b6a4e283adf49cce7..12ae10a5f0fe27474a9fb96f4d90b570339e288e 100644
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc
@@ -175,20 +175,5 @@ PP_Bool PPB_Flash_Impl::IsRectTopmost(PP_Instance instance,
rect->size.width, rect->size.height)));
}
-PP_Var PPB_Flash_Impl::GetSetting(PP_Instance instance,
- PP_FlashSetting setting) {
- switch(setting) {
- case PP_FLASHSETTING_LSORESTRICTIONS: {
- return PP_MakeInt32(
- instance_->delegate()->GetLocalDataRestrictions(
- instance_->container()->element().document().url(),
- instance_->plugin_url()));
- }
- default:
- // No other settings are supported in-process.
- return PP_MakeUndefined();
- }
-}
-
} // namespace ppapi
} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698