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

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
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 f27847345d56a8113ba83d5dcf0953f46268ad74..ba6fbbf0a00c2e2ba567e463def308e23bb86804 100644
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc
@@ -190,20 +190,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

Powered by Google App Engine
This is Rietveld 408576698