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

Unified Diff: webkit/plugins/ppapi/ppb_scrollbar_impl.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_proxy_impl.cc ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_scrollbar_impl.h
diff --git a/webkit/plugins/ppapi/ppb_scrollbar_impl.h b/webkit/plugins/ppapi/ppb_scrollbar_impl.h
index a10e69477b96cb793f18c1d433731238c2e33ffb..3544d1090d15377a07fb5465b28ac5dc2a27a5d8 100644
--- a/webkit/plugins/ppapi/ppb_scrollbar_impl.h
+++ b/webkit/plugins/ppapi/ppb_scrollbar_impl.h
@@ -17,19 +17,17 @@
namespace webkit {
namespace ppapi {
-class PluginInstance;
-
class PPB_Scrollbar_Impl : public PPB_Widget_Impl,
public ::ppapi::thunk::PPB_Scrollbar_API,
public WebKit::WebScrollbarClient {
public:
- static PP_Resource Create(PluginInstance* instance,
- bool vertical);
+ static PP_Resource Create(PP_Instance instance, bool vertical);
virtual ~PPB_Scrollbar_Impl();
- // Resource override.
+ // Resource overrides.
virtual PPB_Scrollbar_API* AsPPB_Scrollbar_API() OVERRIDE;
+ virtual void InstanceWasDeleted();
// Returns a pointer to the interface implementing PPB_Scrollbar_0_3 that is
// exposed to the plugin. New code should use the thunk system for the new
@@ -51,7 +49,7 @@ class PPB_Scrollbar_Impl : public PPB_Widget_Impl,
virtual void ScrollBy(PP_ScrollBy_Dev unit, int32_t multiplier) OVERRIDE;
private:
- PPB_Scrollbar_Impl(PluginInstance* instance);
+ explicit PPB_Scrollbar_Impl(PP_Instance instance);
void Init(bool vertical);
// PPB_Widget private implementation.
« no previous file with comments | « webkit/plugins/ppapi/ppb_proxy_impl.cc ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698