Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
06e51bc6
Commit
06e51bc6
authored
13 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mshtml: Moved NPAPI struct declarations to npplugin.c.
They are no longer needed in nsiface.idl
parent
607e274f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/mshtml/npplugin.c
+119
-0
119 additions, 0 deletions
dlls/mshtml/npplugin.c
dlls/mshtml/nsiface.idl
+0
-121
0 additions, 121 deletions
dlls/mshtml/nsiface.idl
with
119 additions
and
121 deletions
dlls/mshtml/npplugin.c
+
119
−
0
View file @
06e51bc6
...
...
@@ -37,6 +37,125 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
/* Parts of npapi.h */
#define NP_VERSION_MAJOR 0
#define NP_VERSION_MINOR 25
typedef
unsigned
char
NPBool
;
typedef
INT16
NPError
;
typedef
INT16
NPReason
;
typedef
char
*
NPMIMEType
;
typedef
struct
_NPP
{
void
*
pdata
;
void
*
ndata
;
}
NPP_t
,
*
NPP
;
typedef
struct
_NPStream
{
void
*
pdata
;
void
*
ndata
;
const
char
*
url
;
UINT32
end
;
UINT32
lastmodified
;
void
*
notifyData
;
const
char
*
headers
;
}
NPStream
;
typedef
struct
_NPSavedData
{
INT32
len
;
void
*
buf
;
}
NPSavedData
;
typedef
struct
_NPRect
{
UINT16
top
;
UINT16
left
;
UINT16
bottom
;
UINT16
right
;
}
NPRect
;
typedef
enum
{
NPFocusNext
=
0
,
NPFocusPrevious
=
1
}
NPFocusDirection
;
#define NP_ABI_MASK 0
typedef
enum
{
NPPVpluginNameString
=
1
,
NPPVpluginDescriptionString
,
NPPVpluginWindowBool
,
NPPVpluginTransparentBool
,
NPPVjavaClass
,
NPPVpluginWindowSize
,
NPPVpluginTimerInterval
,
NPPVpluginScriptableInstance
=
(
10
|
NP_ABI_MASK
),
NPPVpluginScriptableIID
=
11
,
NPPVjavascriptPushCallerBool
=
12
,
NPPVpluginKeepLibraryInMemory
=
13
,
NPPVpluginNeedsXEmbed
=
14
,
NPPVpluginScriptableNPObject
=
15
,
NPPVformValue
=
16
,
NPPVpluginUrlRequestsDisplayedBool
=
17
,
NPPVpluginWantsAllNetworkStreams
=
18
,
NPPVpluginNativeAccessibleAtkPlugId
=
19
,
NPPVpluginCancelSrcStream
=
20
,
NPPVSupportsAdvancedKeyHandling
=
21
}
NPPVariable
;
typedef
enum
{
NPNVxDisplay
=
1
,
NPNVxtAppContext
,
NPNVnetscapeWindow
,
NPNVjavascriptEnabledBool
,
NPNVasdEnabledBool
,
NPNVisOfflineBool
,
NPNVserviceManager
=
(
10
|
NP_ABI_MASK
),
NPNVDOMElement
=
(
11
|
NP_ABI_MASK
),
NPNVDOMWindow
=
(
12
|
NP_ABI_MASK
),
NPNVToolkit
=
(
13
|
NP_ABI_MASK
),
NPNVSupportsXEmbedBool
=
14
,
NPNVWindowNPObject
=
15
,
NPNVPluginElementNPObject
=
16
,
NPNVSupportsWindowless
=
17
,
NPNVprivateModeBool
=
18
,
NPNVsupportsAdvancedKeyHandling
=
21
}
NPNVariable
;
typedef
enum
{
NPWindowTypeWindow
=
1
,
NPWindowTypeDrawable
}
NPWindowType
;
typedef
struct
_NPWindow
{
void
*
window
;
INT32
x
;
INT32
y
;
UINT32
width
;
UINT32
height
;
NPRect
clipRect
;
NPWindowType
type
;
}
NPWindow
;
typedef
struct
_NPFullPrint
{
NPBool
pluginPrinted
;
NPBool
printOne
;
void
*
platformPrint
;
}
NPFullPrint
;
typedef
struct
_NPEmbedPrint
{
NPWindow
window
;
void
*
platformPrint
;
}
NPEmbedPrint
;
typedef
struct
_NPPrint
{
UINT16
mode
;
union
{
NPFullPrint
fullPrint
;
NPEmbedPrint
embedPrint
;
}
print
;
}
NPPrint
;
typedef
HRGN
NPRegion
;
#define NPERR_BASE 0
#define NPERR_NO_ERROR (NPERR_BASE + 0)
#define NPERR_GENERIC_ERROR (NPERR_BASE + 1)
...
...
This diff is collapsed.
Click to expand it.
dlls/mshtml/nsiface.idl
+
0
−
121
View file @
06e51bc6
...
...
@@ -3208,127 +3208,6 @@ interface nsIContentUtils : nsISupports
nsresult AddScriptRunner(nsIRunnable *aRunnable);
}
/* Parts of npapi.h */
cpp_quote("#define NP_VERSION_MAJOR 0")
cpp_quote("#define NP_VERSION_MINOR 25")
typedef unsigned char NPBool;
typedef INT16 NPError;
typedef INT16 NPReason;
typedef char *NPMIMEType;
typedef struct _NPP {
void *pdata;
void *ndata;
} NPP_t, *NPP;
typedef struct _NPStream {
void *pdata;
void *ndata;
const char *url;
UINT32 end;
UINT32 lastmodified;
void *notifyData;
const char *headers;
} NPStream;
typedef struct _NPSavedData {
INT32 len;
void *buf;
} NPSavedData;
typedef struct _NPRect {
UINT16 top;
UINT16 left;
UINT16 bottom;
UINT16 right;
} NPRect;
typedef enum {
NPFocusNext = 0,
NPFocusPrevious = 1
} NPFocusDirection;
#define NP_ABI_MASK 0
typedef enum {
NPPVpluginNameString = 1,
NPPVpluginDescriptionString,
NPPVpluginWindowBool,
NPPVpluginTransparentBool,
NPPVjavaClass,
NPPVpluginWindowSize,
NPPVpluginTimerInterval,
NPPVpluginScriptableInstance = (10 | NP_ABI_MASK),
NPPVpluginScriptableIID = 11,
NPPVjavascriptPushCallerBool = 12,
NPPVpluginKeepLibraryInMemory = 13,
NPPVpluginNeedsXEmbed = 14,
NPPVpluginScriptableNPObject = 15,
NPPVformValue = 16,
NPPVpluginUrlRequestsDisplayedBool = 17,
NPPVpluginWantsAllNetworkStreams = 18,
NPPVpluginNativeAccessibleAtkPlugId = 19,
NPPVpluginCancelSrcStream = 20,
NPPVSupportsAdvancedKeyHandling = 21
} NPPVariable;
typedef enum {
NPNVxDisplay = 1,
NPNVxtAppContext,
NPNVnetscapeWindow,
NPNVjavascriptEnabledBool,
NPNVasdEnabledBool,
NPNVisOfflineBool,
NPNVserviceManager = (10 | NP_ABI_MASK),
NPNVDOMElement = (11 | NP_ABI_MASK),
NPNVDOMWindow = (12 | NP_ABI_MASK),
NPNVToolkit = (13 | NP_ABI_MASK),
NPNVSupportsXEmbedBool = 14,
NPNVWindowNPObject = 15,
NPNVPluginElementNPObject = 16,
NPNVSupportsWindowless = 17,
NPNVprivateModeBool = 18,
NPNVsupportsAdvancedKeyHandling = 21
} NPNVariable;
typedef enum {
NPWindowTypeWindow = 1,
NPWindowTypeDrawable
} NPWindowType;
typedef struct _NPWindow {
void *window;
INT32 x;
INT32 y;
UINT32 width;
UINT32 height;
NPRect clipRect;
NPWindowType type;
} NPWindow;
typedef struct _NPFullPrint {
NPBool pluginPrinted;
NPBool printOne;
void *platformPrint;
} NPFullPrint;
typedef struct _NPEmbedPrint {
NPWindow window;
void *platformPrint;
} NPEmbedPrint;
typedef struct _NPPrint {
UINT16 mode;
union {
NPFullPrint fullPrint;
NPEmbedPrint embedPrint;
} print;
} NPPrint;
typedef HRGN NPRegion;
[
object,
uuid(8f672000-bab9-4c60-aaaf-2673c4e2a4c6),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment