summaryrefslogtreecommitdiff
path: root/apps/mozilla
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-03-09 00:22:04 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-03-09 00:22:04 +0100
commit8236955d750ebde9d90fcda18447b0ec5554379c (patch)
tree3e1a123acbc9b90503f6082d469c467b4d363ada /apps/mozilla
parent4550244068208eb04dcf868e59267a6b7494b837 (diff)
downloadmupdf-8236955d750ebde9d90fcda18447b0ec5554379c.tar.xz
Fixed initial line whitespace.
Diffstat (limited to 'apps/mozilla')
-rw-r--r--apps/mozilla/npapi.h52
-rw-r--r--apps/mozilla/npupp.h24
2 files changed, 38 insertions, 38 deletions
diff --git a/apps/mozilla/npapi.h b/apps/mozilla/npapi.h
index 0ccef715..63eb4f7f 100644
--- a/apps/mozilla/npapi.h
+++ b/apps/mozilla/npapi.h
@@ -223,7 +223,7 @@ typedef struct _NPWindow
uint32 width; /* Maximum window size */
uint32 height;
NPRect clipRect; /* Clipping rectangle in port coordinates */
- /* Used by MAC only. */
+ /* Used by MAC only. */
#ifdef XP_UNIX
void * ws_info; /* Platform-dependent additonal data */
#endif /* XP_UNIX */
@@ -234,9 +234,9 @@ typedef struct _NPWindow
typedef struct _NPFullPrint
{
NPBool pluginPrinted; /* Set TRUE if plugin handled fullscreen */
- /* printing */
+ /* printing */
NPBool printOne; /* TRUE if plugin should print one copy */
- /* to default printer */
+ /* to default printer */
void* platformPrint; /* Platform-specific printing info */
} NPFullPrint;
@@ -398,54 +398,54 @@ char* NPP_GetMIMEDescription(void);
NPError NPP_Initialize(void);
void NPP_Shutdown(void);
NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance,
- uint16 mode, int16 argc, char* argn[],
- char* argv[], NPSavedData* saved);
+ uint16 mode, int16 argc, char* argn[],
+ char* argv[], NPSavedData* saved);
NPError NP_LOADDS NPP_Destroy(NPP instance, NPSavedData** save);
NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window);
NPError NP_LOADDS NPP_NewStream(NPP instance, NPMIMEType type,
- NPStream* stream, NPBool seekable,
- uint16* stype);
+ NPStream* stream, NPBool seekable,
+ uint16* stype);
NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream,
- NPReason reason);
+ NPReason reason);
int32 NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream);
int32 NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32 offset,
- int32 len, void* buffer);
+ int32 len, void* buffer);
void NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream,
- const char* fname);
+ const char* fname);
void NP_LOADDS NPP_Print(NPP instance, NPPrint* platformPrint);
int16 NPP_HandleEvent(NPP instance, void* event);
void NP_LOADDS NPP_URLNotify(NPP instance, const char* url,
- NPReason reason, void* notifyData);
+ NPReason reason, void* notifyData);
jref NP_LOADDS NPP_GetJavaClass(void);
NPError NPP_GetValue(void *instance, NPPVariable variable,
- void *value);
+ void *value);
NPError NPP_SetValue(void *instance, NPNVariable variable,
- void *value);
+ void *value);
/*
* NPN_* functions are provided by the navigator and called by the plugin.
*/
void NPN_Version(int* plugin_major, int* plugin_minor,
- int* netscape_major, int* netscape_minor);
+ int* netscape_major, int* netscape_minor);
NPError NPN_GetURLNotify(NPP instance, const char* url,
- const char* target, void* notifyData);
+ const char* target, void* notifyData);
NPError NPN_GetURL(NPP instance, const char* url,
- const char* target);
+ const char* target);
NPError NPN_PostURLNotify(NPP instance, const char* url,
- const char* target, uint32 len,
- const char* buf, NPBool file,
- void* notifyData);
+ const char* target, uint32 len,
+ const char* buf, NPBool file,
+ void* notifyData);
NPError NPN_PostURL(NPP instance, const char* url,
- const char* target, uint32 len,
- const char* buf, NPBool file);
+ const char* target, uint32 len,
+ const char* buf, NPBool file);
NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList);
NPError NPN_NewStream(NPP instance, NPMIMEType type,
- const char* target, NPStream** stream);
+ const char* target, NPStream** stream);
int32 NPN_Write(NPP instance, NPStream* stream, int32 len,
- void* buffer);
+ void* buffer);
NPError NPN_DestroyStream(NPP instance, NPStream* stream,
- NPReason reason);
+ NPReason reason);
void NPN_Status(NPP instance, const char* message);
const char* NPN_UserAgent(NPP instance);
void* NPN_MemAlloc(uint32 size);
@@ -455,9 +455,9 @@ void NPN_ReloadPlugins(NPBool reloadPages);
JRIEnv* NPN_GetJavaEnv(void);
jref NPN_GetJavaPeer(NPP instance);
NPError NPN_GetValue(NPP instance, NPNVariable variable,
- void *value);
+ void *value);
NPError NPN_SetValue(NPP instance, NPPVariable variable,
- void *value);
+ void *value);
void NPN_InvalidateRect(NPP instance, NPRect *invalidRect);
void NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion);
void NPN_ForceRedraw(NPP instance);
diff --git a/apps/mozilla/npupp.h b/apps/mozilla/npupp.h
index 30066065..203bfc77 100644
--- a/apps/mozilla/npupp.h
+++ b/apps/mozilla/npupp.h
@@ -20,10 +20,10 @@
/******************************************************************************************
plug-in function table macros
- for each function in and out of the plugin API we define
- typedef NPP_FooUPP
- #define NewNPP_FooProc
- #define CallNPP_FooProc
+ for each function in and out of the plugin API we define
+ typedef NPP_FooUPP
+ #define NewNPP_FooProc
+ #define CallNPP_FooProc
for mac, define the UPP magic for PPC/68K calling
*******************************************************************************************/
@@ -103,7 +103,7 @@ enum {
(NPP_NewUPP) NewRoutineDescriptor((ProcPtr)(FUNC), uppNPP_NewProcInfo, GetCurrentArchitecture())
#define CallNPP_NewProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) \
(NPError)CallUniversalProc((UniversalProcPtr)(FUNC), uppNPP_NewProcInfo, \
- (ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7))
+ (ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7))
#else
typedef NPError (*NPP_NewUPP)(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved);
@@ -759,23 +759,23 @@ typedef void (*NPN_StatusUPP)(NPP instance, const char* message);
typedef UniversalProcPtr NPN_UserAgentUPP;
enum {
- uppNPN_UserAgentProcInfo = kThinkCStackBased
- | STACK_ROUTINE_PARAMETER(1, SIZE_CODE(sizeof(NPP)))
- | RESULT_SIZE(SIZE_CODE(sizeof(const char *)))
+ uppNPN_UserAgentProcInfo = kThinkCStackBased
+ | STACK_ROUTINE_PARAMETER(1, SIZE_CODE(sizeof(NPP)))
+ | RESULT_SIZE(SIZE_CODE(sizeof(const char *)))
};
#define NewNPN_UserAgentProc(FUNC) \
- (NPN_UserAgentUPP) NewRoutineDescriptor((ProcPtr)(FUNC), uppNPN_UserAgentProcInfo, GetCurrentArchitecture())
+ (NPN_UserAgentUPP) NewRoutineDescriptor((ProcPtr)(FUNC), uppNPN_UserAgentProcInfo, GetCurrentArchitecture())
#define CallNPN_UserAgentProc(FUNC, ARG1) \
- (const char*)CallUniversalProc((UniversalProcPtr)(FUNC), uppNPN_UserAgentProcInfo, (ARG1))
+ (const char*)CallUniversalProc((UniversalProcPtr)(FUNC), uppNPN_UserAgentProcInfo, (ARG1))
#else
typedef const char* (*NPN_UserAgentUPP)(NPP instance);
#define NewNPN_UserAgentProc(FUNC) \
- ((NPN_UserAgentUPP) (FUNC))
+ ((NPN_UserAgentUPP) (FUNC))
#define CallNPN_UserAgentProc(FUNC, ARG1) \
- (*(FUNC))((ARG1))
+ (*(FUNC))((ARG1))
#endif