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

Unified Diff: webkit/plugins/ppapi/ppb_flash_impl.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, 1 month 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
« ppapi/thunk/ppb_flash_thunk.cc ('K') | « 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 64aa79794df0bb4119dfa413bd85cfecc9774092..52a1eccc7274b8ee5d742319da22bb5d68ff4215 100644
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc
@@ -157,18 +157,6 @@ PP_Bool PPB_Flash_Impl::DrawGlyphs(PP_Instance instance,
return PP_TRUE;
}
-PP_Var PPB_Flash_Impl::GetProxyForURL(PP_Instance instance,
- const char* url) {
- GURL gurl(url);
- if (!gurl.is_valid())
- return PP_MakeUndefined();
-
- std::string proxy_host = instance_->delegate()->ResolveProxy(gurl);
- if (proxy_host.empty())
- return PP_MakeUndefined(); // No proxy.
- return StringVar::StringToPPVar(proxy_host);
-}
-
int32_t PPB_Flash_Impl::Navigate(PP_Instance instance,
PP_Resource request_info,
const char* target,
@@ -211,10 +199,6 @@ PP_Bool PPB_Flash_Impl::IsRectTopmost(PP_Instance instance,
rect->size.width, rect->size.height)));
}
-void PPB_Flash_Impl::UpdateActivity(PP_Instance pp_instance) {
- // Not supported in-process.
-}
-
PP_Var PPB_Flash_Impl::GetSetting(PP_Instance instance,
PP_FlashSetting setting) {
switch(setting) {
@@ -230,13 +214,6 @@ PP_Var PPB_Flash_Impl::GetSetting(PP_Instance instance,
}
}
-PP_Bool PPB_Flash_Impl::SetCrashData(PP_Instance instance,
- PP_FlashCrashKey key,
- PP_Var value) {
- // Not implemented in process.
- return PP_FALSE;
-}
-
bool PPB_Flash_Impl::CreateThreadAdapterForInstance(PP_Instance instance) {
return false; // No multithreaded access allowed.
}
« ppapi/thunk/ppb_flash_thunk.cc ('K') | « 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