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

Unified Diff: webkit/plugins/ppapi/ppb_flash_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, 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
« 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 ccad022b7cc7fc369076b283e64688ecb602a1fc..64aa79794df0bb4119dfa413bd85cfecc9774092 100644
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc
@@ -7,7 +7,6 @@
#include <string>
#include <vector>
-#include "base/message_loop.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "googleurl/src/gurl.h"
@@ -190,15 +189,6 @@ int32_t PPB_Flash_Impl::Navigate(PP_Instance instance,
return instance_->Navigate(data, target, PP_ToBool(from_user_action));
}
-void PPB_Flash_Impl::RunMessageLoop(PP_Instance instance) {
- MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current());
- MessageLoop::current()->Run();
-}
-
-void PPB_Flash_Impl::QuitMessageLoop(PP_Instance instance) {
- MessageLoop::current()->QuitNow();
-}
-
double PPB_Flash_Impl::GetLocalTimeZoneOffset(PP_Instance instance,
PP_Time t) {
// Evil hack. The time code handles exact "0" values as special, and produces
@@ -225,17 +215,6 @@ void PPB_Flash_Impl::UpdateActivity(PP_Instance pp_instance) {
// Not supported in-process.
}
-PP_Var PPB_Flash_Impl::GetDeviceID(PP_Instance pp_instance) {
- std::string id = instance_->delegate()->GetDeviceID();
- return StringVar::StringToPPVar(id);
-}
-
-int32_t PPB_Flash_Impl::GetSettingInt(PP_Instance instance,
- PP_FlashSetting setting) {
- // No current settings are supported in-process.
- return -1;
-}
-
PP_Var PPB_Flash_Impl::GetSetting(PP_Instance instance,
PP_FlashSetting setting) {
switch(setting) {
« 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