Bug 544773 part.1 TSF module should log its behavior r=jimm

This commit is contained in:
Masayuki Nakano 2012-09-12 08:53:12 +09:00
parent f8ef3c9b70
commit e52315fdb8
2 changed files with 1400 additions and 225 deletions

File diff suppressed because it is too large Load Diff

View File

@ -155,6 +155,19 @@ protected:
bool Create(nsWindow*, IMEState::Enabled);
bool Destroy(void);
bool IsReadLock(DWORD aLock) const
{
return (TS_LF_READ == (aLock & TS_LF_READ));
}
bool IsReadWriteLock(DWORD aLock) const
{
return (TS_LF_READWRITE == (aLock & TS_LF_READWRITE));
}
bool IsReadLocked() const { return IsReadLock(mLock); }
bool IsReadWriteLocked() const { return IsReadWriteLock(mLock); }
bool GetScreenExtInternal(RECT &aScreenExt);
bool GetSelectionInternal(TS_SELECTION_ACP &aSelectionACP);
// If aDispatchTextEvent is true, this method will dispatch text event if
// this is called during IME composing. aDispatchTextEvent should be true
// only when this is called from SetSelection. Because otherwise, the text