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

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

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Get rid of ScrollbarGroup's methods and the ResizeClient interface Created 9 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: webkit/plugins/ppapi/plugin_module.cc
===================================================================
--- webkit/plugins/ppapi/plugin_module.cc (revision 95420)
+++ webkit/plugins/ppapi/plugin_module.cc (working copy)
@@ -31,6 +31,7 @@
#include "ppapi/c/dev/ppb_opengles_dev.h"
#include "ppapi/c/dev/ppb_query_policy_dev.h"
#include "ppapi/c/dev/ppb_scrollbar_dev.h"
+#include "ppapi/c/dev/ppb_scrollbar_group_dev.h"
#include "ppapi/c/dev/ppb_surface_3d_dev.h"
#include "ppapi/c/dev/ppb_testing_dev.h"
#include "ppapi/c/dev/ppb_transport_dev.h"
@@ -99,6 +100,7 @@
#include "webkit/plugins/ppapi/ppb_opengles_impl.h"
#include "webkit/plugins/ppapi/ppb_proxy_impl.h"
#include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
+#include "webkit/plugins/ppapi/ppb_scrollbar_group_impl.h"
#include "webkit/plugins/ppapi/ppb_uma_private_impl.h"
#include "webkit/plugins/ppapi/ppb_url_util_impl.h"
#include "webkit/plugins/ppapi/ppb_var_impl.h"
@@ -300,10 +302,10 @@
return PPB_Proxy_Impl::GetInterface();
if (strcmp(name, PPB_QUERY_POLICY_DEV_INTERFACE_0_1) == 0)
return ::ppapi::thunk::GetPPB_QueryPolicy_Thunk();
- if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_4) == 0)
+ if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_5) == 0)
return ::ppapi::thunk::GetPPB_Scrollbar_Thunk();
- if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_3) == 0)
- return PPB_Scrollbar_Impl::Get0_3Interface();
+ if (strcmp(name, PPB_SCROLLBAR_GROUP_DEV_INTERFACE_0_1) == 0)
+ return ::ppapi::thunk::GetPPB_ScrollbarGroup_Thunk();
if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0)
return PPB_UMA_Private_Impl::GetInterface();
if (strcmp(name, PPB_URLLOADER_INTERFACE_1_0) == 0)

Powered by Google App Engine
This is Rietveld 408576698