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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc

Issue 10827456: Remove PPB_Scrollbar_Dev and PPB_Widget_Dev from native client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove PPB_PDF and associated tests Created 8 years, 4 months 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: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
index bf0c5c4a36e823d5ef6dbfe224a477fd83a1a7fc..7e24e303b2e3a32948e784ccc8b1fb9dbca7794d 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
@@ -16,9 +16,7 @@
#include "native_client/src/shared/ppapi_proxy/browser_ppp_mouse_lock.h"
#include "native_client/src/shared/ppapi_proxy/browser_ppp_messaging.h"
#include "native_client/src/shared/ppapi_proxy/browser_ppp_printing.h"
-#include "native_client/src/shared/ppapi_proxy/browser_ppp_scrollbar.h"
#include "native_client/src/shared/ppapi_proxy/browser_ppp_selection.h"
-#include "native_client/src/shared/ppapi_proxy/browser_ppp_widget.h"
#include "native_client/src/shared/ppapi_proxy/browser_ppp_zoom.h"
#include "native_client/src/shared/ppapi_proxy/browser_upcall.h"
#include "native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h"
@@ -28,9 +26,7 @@
#include "native_client/src/trusted/plugin/plugin.h"
#include "ppapi/c/dev/ppp_find_dev.h"
#include "ppapi/c/dev/ppp_printing_dev.h"
-#include "ppapi/c/dev/ppp_scrollbar_dev.h"
#include "ppapi/c/dev/ppp_selection_dev.h"
-#include "ppapi/c/dev/ppp_widget_dev.h"
#include "ppapi/c/dev/ppp_zoom_dev.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppp.h"
@@ -194,15 +190,9 @@ const void* BrowserPpp::GetPluginInterface(const char* interface_name) {
} else if (strcmp(interface_name, PPP_PRINTING_DEV_INTERFACE) == 0) {
ppp_interface =
reinterpret_cast<const void*>(BrowserPrinting::GetInterface());
- } else if (strcmp(interface_name, PPP_SCROLLBAR_DEV_INTERFACE) == 0) {
- ppp_interface =
- reinterpret_cast<const void*>(BrowserScrollbar::GetInterface());
} else if (strcmp(interface_name, PPP_SELECTION_DEV_INTERFACE) == 0) {
ppp_interface =
reinterpret_cast<const void*>(BrowserSelection::GetInterface());
- } else if (strcmp(interface_name, PPP_WIDGET_DEV_INTERFACE) == 0) {
- ppp_interface =
- reinterpret_cast<const void*>(BrowserWidget::GetInterface());
} else if (strcmp(interface_name, PPP_ZOOM_DEV_INTERFACE) == 0) {
ppp_interface =
reinterpret_cast<const void*>(BrowserZoom::GetInterface());

Powered by Google App Engine
This is Rietveld 408576698