diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 02:08:11 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 02:08:11 +0000 |
commit | 039a1dad907b8c163532b0597d86bf31dedb9a9b (patch) | |
tree | abb1c24331258269fe61c816e37e3a094248ab42 /third_party | |
parent | e8d5545b55d44c8b9f05d550dab052fcfe392f2d (diff) | |
download | chromium_src-039a1dad907b8c163532b0597d86bf31dedb9a9b.zip chromium_src-039a1dad907b8c163532b0597d86bf31dedb9a9b.tar.gz chromium_src-039a1dad907b8c163532b0597d86bf31dedb9a9b.tar.bz2 |
Update the Pepper scrollbar widget to use the new WebKit Scrollbar interface.
Review URL: http://codereview.chromium.org/2008008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/npapi/bindings/npapi_extensions.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h index 603e58a..cbdd855 100644 --- a/third_party/npapi/bindings/npapi_extensions.h +++ b/third_party/npapi/bindings/npapi_extensions.h @@ -438,16 +438,24 @@ typedef struct _NPScrollbarCreateParams { bool vertical; } NPScrollbarCreateParams; +typedef struct _NPRect32 +{ + uint32_t top; + uint32_t left; + uint32_t bottom; + uint32_t right; +} NPRect32; + typedef struct _NPScrollbarTickMarks { uint32 count; - uint32* tickmarks; + NPRect32* tickmarks; } NPScrollbarTickMarks; typedef enum { - NPWidgetPropertyLocation = 0, // Set only. variable is NPRect*. - NPWidgetPropertyDirtyRect = 1, // Get only. variable is NPRec*t. + NPWidgetPropertyLocation = 0, // variable is NPRect*. + NPWidgetPropertyDirtyRect = 1, // Get only. variable is NPRec*. NPWidgetPropertyScrollbarThickness = 2, // Get only. variable is int32*. - NPWidgetPropertyScrollbarPosition = 3, // variable is int32*. + NPWidgetPropertyScrollbarValue = 3, // variable is int32*. NPWidgetPropertyScrollbarDocumentSize = 4, // Set only. variable is int32*. // Set only. variable is NPScrollbarTickMarks*. NPWidgetPropertyScrollbarTickMarks = 5, |