| OLD | NEW |
| 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
| 2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
| 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 4 * | 4 * |
| 5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
| 6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
| 7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
| 8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
| 9 * | 9 * |
| 10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 uint16 mode; /* NP_FULL or NP_EMBED */ | 520 uint16 mode; /* NP_FULL or NP_EMBED */ |
| 521 union | 521 union |
| 522 { | 522 { |
| 523 NPFullPrint fullPrint; /* if mode is NP_FULL */ | 523 NPFullPrint fullPrint; /* if mode is NP_FULL */ |
| 524 NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ | 524 NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ |
| 525 } print; | 525 } print; |
| 526 } NPPrint; | 526 } NPPrint; |
| 527 | 527 |
| 528 // BEGIN GOOGLE MODIFICATIONS | 528 // BEGIN GOOGLE MODIFICATIONS |
| 529 #ifdef XP_MACOSX | 529 #ifdef XP_MACOSX |
| 530 typedef struct _NPNSMenu NPNSMenu; |
| 530 typedef NPNSMenu NPMenu; | 531 typedef NPNSMenu NPMenu; |
| 531 #else | 532 #else |
| 532 typedef void * NPMenu; | 533 typedef void * NPMenu; |
| 533 #endif | 534 #endif |
| 534 // END GOOGLE MODIFICATIONS | 535 // END GOOGLE MODIFICATIONS |
| 535 | 536 |
| 536 #ifdef XP_MACOSX | 537 #ifdef XP_MACOSX |
| 537 typedef EventRecord NPEvent; | 538 typedef EventRecord NPEvent; |
| 538 #elif defined(XP_WIN) | 539 #elif defined(XP_WIN) |
| 539 typedef struct _NPEvent | 540 typedef struct _NPEvent |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 #ifdef __cplusplus | 779 #ifdef __cplusplus |
| 779 } /* end extern "C" */ | 780 } /* end extern "C" */ |
| 780 #endif | 781 #endif |
| 781 | 782 |
| 782 #endif /* RC_INVOKED */ | 783 #endif /* RC_INVOKED */ |
| 783 #ifdef __OS2__ | 784 #ifdef __OS2__ |
| 784 #pragma pack() | 785 #pragma pack() |
| 785 #endif | 786 #endif |
| 786 | 787 |
| 787 #endif /* _NPAPI_H_ */ | 788 #endif /* _NPAPI_H_ */ |
| OLD | NEW |