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

Unified Diff: webkit/glue/plugins/pepper_scrollbar.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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/glue/plugins/pepper_resource.h ('k') | webkit/glue/plugins/pepper_scrollbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_scrollbar.h
===================================================================
--- webkit/glue/plugins/pepper_scrollbar.h (revision 57791)
+++ webkit/glue/plugins/pepper_scrollbar.h (working copy)
@@ -8,13 +8,11 @@
#include <vector>
#include "gfx/rect.h"
-#include "third_party/ppapi/c/ppb_scrollbar.h"
+#include "third_party/ppapi/c/dev/ppb_scrollbar_dev.h"
#include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
#include "third_party/WebKit/WebKit/chromium/public/WebScrollbarClient.h"
#include "webkit/glue/plugins/pepper_widget.h"
-typedef struct _ppb_Scrollbar PPB_Scrollbar;
-
namespace pepper {
class PluginInstance;
@@ -26,7 +24,7 @@
// Returns a pointer to the interface implementing PPB_Scrollbar that is
// exposed to the plugin.
- static const PPB_Scrollbar* GetInterface();
+ static const PPB_Scrollbar_Dev* GetInterface();
// Resource overrides.
Scrollbar* AsScrollbar() { return this; }
@@ -36,7 +34,7 @@
void SetValue(uint32_t value);
void SetDocumentSize(uint32_t size);
void SetTickMarks(const PP_Rect* tick_marks, uint32_t count);
- void ScrollBy(PP_ScrollBy unit, int32_t multiplier);
+ void ScrollBy(PP_ScrollBy_Dev unit, int32_t multiplier);
// PPB_Widget implementation.
virtual bool Paint(const PP_Rect* rect, ImageData* image);
« no previous file with comments | « webkit/glue/plugins/pepper_resource.h ('k') | webkit/glue/plugins/pepper_scrollbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698