mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00:00
6ea631e28c
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188). Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
216 lines
7.1 KiB
C
216 lines
7.1 KiB
C
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Netscape Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
|
|
/* 2d96b3d0-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_WINDOW_CID \
|
|
{ 0x2d96b3d0, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9}}
|
|
|
|
/* 2d96b3d1-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_CHILD_CID \
|
|
{ 0x2d96b3d1, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
|
|
/* BA7DE611-6088-11d3-A83E-00105A183419 */
|
|
#define NS_POPUP_CID \
|
|
{ 0xba7de611, 0x6088, 0x11d3, \
|
|
{ 0xa8, 0x3e, 0x0, 0x10, 0x5a, 0x18, 0x34, 0x19 } }
|
|
|
|
|
|
/* 2d96b3d2-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_BUTTON_CID \
|
|
{ 0x2d96b3d2, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3d3-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_CHECKBUTTON_CID \
|
|
{ 0x2d96b3d3, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3d4-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_COMBOBOX_CID \
|
|
{ 0x2d96b3d4, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3d5-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_FILEWIDGET_CID \
|
|
{ 0x2d96b3d5, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* bd57cee8-1dd1-11b2-9fe7-95cf4709aea3 */
|
|
#define NS_FILEPICKER_CID \
|
|
{ 0xbd57cee8, 0x1dd1, 0x11b2, \
|
|
{0x9f, 0xe7, 0x95, 0xcf, 0x47, 0x09, 0xae, 0xa3} }
|
|
|
|
/* 2d96b3d6-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_LISTBOX_CID \
|
|
{ 0x2d96b3d6, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3d7-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_RADIOBUTTON_CID \
|
|
{ 0x2d96b3d7, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3d9-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_HORZSCROLLBAR_CID \
|
|
{ 0x2d96b3d9, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3da-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_VERTSCROLLBAR_CID \
|
|
{ 0x2d96b3da, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3db-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_TEXTAREA_CID \
|
|
{ 0x2d96b3db, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3dc-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_TEXTFIELD_CID \
|
|
{ 0x2d96b3dc, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3df-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_APPSHELL_CID \
|
|
{ 0x2d96b3df, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3e0-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_TOOLKIT_CID \
|
|
{ 0x2d96b3e0, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* XXX the following CID's are not in order. This needs
|
|
to be fixed. */
|
|
|
|
/* 21B51DE0-21A3-11d2-B6E0-00805F8A2676 */
|
|
#define NS_LOOKANDFEEL_CID \
|
|
{ 0x21b51de0, 0x21a3, 0x11d2, \
|
|
{ 0xb6, 0xe0, 0x0, 0x80, 0x5f, 0x8a, 0x26, 0x76 } }
|
|
|
|
/* 4A781D61-3D28-11d2-8DB8-00609703C14E */
|
|
#define NS_DIALOG_CID \
|
|
{ 0x4a781d61, 0x3d28, 0x11d2, \
|
|
{ 0x8d, 0xb8, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
/* F3131891-3DC7-11d2-8DB8-00609703C14E */
|
|
#define NS_LABEL_CID \
|
|
{ 0xf3131891, 0x3dc7, 0x11d2, \
|
|
{ 0x8d, 0xb8, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
//-----------------------------------------------------------
|
|
// Menus
|
|
//-----------------------------------------------------------
|
|
|
|
// {BC658C81-4BEB-11d2-8DBB-00609703C14E}
|
|
#define NS_MENUBAR_CID \
|
|
{ 0xbc658c81, 0x4beb, 0x11d2, \
|
|
{ 0x8d, 0xbb, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
// {35A3DEC1-4992-11d2-8DBA-00609703C14E}
|
|
#define NS_MENU_CID \
|
|
{ 0x35a3dec1, 0x4992, 0x11d2, \
|
|
{ 0x8d, 0xba, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
// {7F045771-4BEB-11d2-8DBB-00609703C14E}
|
|
#define NS_MENUITEM_CID \
|
|
{ 0x7f045771, 0x4beb, 0x11d2, \
|
|
{ 0x8d, 0xbb, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
// {1677DAE1-04E2-11d3-B35C-00A0CC3C1CDE}
|
|
#define NS_CONTEXTMENU_CID \
|
|
{ 0x1677dae1, 0x4e2, 0x11d3, \
|
|
{ 0xb3, 0x5c, 0x0, 0xa0, 0xcc, 0x3c, 0x1c, 0xde } }
|
|
|
|
//f58c2550-4a7c-11d2-bee2-00805f8a8dbd
|
|
#define NS_IMAGEBUTTON_CID \
|
|
{ 0xf58c2550, 0x4a7c, 0x11d2, \
|
|
{0xbe, 0xe2, 0x00, 0x80, 0x5f, 0x8a, 0x8d, 0xbd} }
|
|
|
|
// {F6CD4F21-53AF-11d2-8DC4-00609703C14E}
|
|
#define NS_POPUPMENU_CID \
|
|
{ 0xf6cd4f21, 0x53af, 0x11d2, \
|
|
{ 0x8d, 0xc4, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
#define NS_MENUBUTTON_CID \
|
|
{ 0x67b8e261, 0x53c3, 0x11d2, \
|
|
{ 0x8d, 0xc4, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
// {D3C3B8B2-55B5-11d2-9A2A-000000000000}
|
|
#define NS_IMAGEBUTTONLISTENER_CID \
|
|
{ 0xd3c3b8b2, 0x55b5, 0x11d2, \
|
|
{ 0x9a, 0x2a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }
|
|
|
|
// {285EF9B2-094A-11d3-9A87-0050046CDA96}
|
|
#define NS_FONTRETRIEVERSERVICE_CID \
|
|
{ 0x285ef9b2, 0x94a, 0x11d3, { 0x9a, 0x87, 0x0, 0x50, 0x4, 0x6c, 0xda, 0x96 } }
|
|
|
|
// {6B6C423A-1DD2-11B2-8888-E540BB169DDD}
|
|
#define NS_TIMER_CID \
|
|
{ 0x6b6c423a, 0x1dd2, 0x11b2, \
|
|
{ 0x88, 0x88, 0xe5, 0x40, 0xbb, 0x16, 0x9d, 0xdd } }
|
|
|
|
// {7783D5A6-1DD2-11B2-BF5E-CA89083D0AA4}
|
|
#define NS_TIMERMANAGER_CID \
|
|
{ 0x7783d5a6, 0x1dd2, 0x11b2, \
|
|
{ 0xbf, 0x5e, 0xca, 0x89, 0x8, 0x3d, 0xa, 0xa4 } }
|
|
|
|
//-----------------------------------------------------------
|
|
//Drag & Drop & Clipboard
|
|
//-----------------------------------------------------------
|
|
// {8B5314BB-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_DRAGSERVICE_CID \
|
|
{ 0x8b5314bb, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {8B5314BC-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_TRANSFERABLE_CID \
|
|
{ 0x8b5314bc, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {8B5314BA-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_CLIPBOARD_CID \
|
|
{ 0x8b5314ba, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {8B5314BD-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_DATAFLAVOR_CID \
|
|
{ 0x8b5314bd, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {948A0023-E3A7-11d2-96CF-0060B0FB9956}
|
|
#define NS_HTMLFORMATCONVERTER_CID \
|
|
{ 0x948a0023, 0xe3a7, 0x11d2, { 0x96, 0xcf, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
#define NS_DATAOBJ_CID \
|
|
{ 0x1bba7640, 0xdf52, 0x11cf, { 0x82, 0x7b, 0, 0xa0, 0x24, 0x3a, 0xe5, 0x05 } }
|
|
|
|
// {E93E73B1-0197-11d3-96D4-0060B0FB9956}
|
|
#define NS_FILELISTTRANSFERABLE_CID \
|
|
{ 0xe93e73b1, 0x197, 0x11d3, { 0x96, 0xd4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
//-----------------------------------------------------------
|
|
//Other
|
|
//-----------------------------------------------------------
|
|
// {B148EED2-236D-11d3-B35C-00A0CC3C1CDE}
|
|
#define NS_SOUND_CID \
|
|
{ 0xb148eed2, 0x236d, 0x11d3, { 0xb3, 0x5c, 0x0, 0xa0, 0xcc, 0x3c, 0x1c, 0xde } }
|