Bug 498842 [IMM32] Move some #defines of nsToolkit.h to nsIMM32Handler r=VYV03354, sr=roc

This commit is contained in:
Masayuki Nakano 2009-06-18 14:20:14 +09:00
Родитель b26d0196f1
Коммит 7abe1fa1df
2 изменённых файлов: 17 добавлений и 17 удалений

Просмотреть файл

@ -69,6 +69,23 @@ PRLogModuleInfo* gIMM32Log = nsnull;
#ifdef ENABLE_IME_MOUSE_HANDLING
static UINT sWM_MSIME_MOUSE = 0; // mouse message for MSIME 98/2000
//-------------------------------------------------------------------------
//
// from http://download.microsoft.com/download/6/0/9/60908e9e-d2c1-47db-98f6-216af76a235f/msime.h
// The document for this has been removed from MSDN...
//
//-------------------------------------------------------------------------
#define RWM_MOUSE TEXT("MSIMEMouseOperation")
#define IMEMOUSE_NONE 0x00 // no mouse button was pushed
#define IMEMOUSE_LDOWN 0x01
#define IMEMOUSE_RDOWN 0x02
#define IMEMOUSE_MDOWN 0x04
#define IMEMOUSE_WUP 0x10 // wheel up
#define IMEMOUSE_WDOWN 0x20 // wheel down
#endif
PRPackedBool nsIMM32Handler::sIsComposingOnPlugin = PR_FALSE;

Просмотреть файл

@ -166,21 +166,4 @@ private:
nsCOMPtr<nsITimer> mTimer;
};
//-------------------------------------------------------------------------
//
// from http://download.microsoft.com/download/6/0/9/60908e9e-d2c1-47db-98f6-216af76a235f/msime.h
// The document for this has been removed from MSDN...
//
//-------------------------------------------------------------------------
#define RWM_MOUSE TEXT("MSIMEMouseOperation")
#define IMEMOUSE_NONE 0x00 // no mouse button was pushed
#define IMEMOUSE_LDOWN 0x01
#define IMEMOUSE_RDOWN 0x02
#define IMEMOUSE_MDOWN 0x04
#define IMEMOUSE_WUP 0x10 // wheel up
#define IMEMOUSE_WDOWN 0x20 // wheel down
#endif // TOOLKIT_H