2011-04-06 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler. [Mac] When autocorrection occurs without showing correction panel, WebCore need to post accessibility notification. https://bugs.webkit.org/show_bug.cgi?id=57800 <rdar://problem/9218223> Defined a new accessibility notification type, AXAutocorrectionOccured. Editor::markAllMisspellingsAndBadGrammarInRanges() now posts said notification when any autocorrection or text replacement (e.g. replacing "(c)" with copyright mark) takes place. * accessibility/AXObjectCache.h: * accessibility/chromium/AXObjectCacheChromium.cpp: (WebCore::AXObjectCache::postPlatformNotification): * accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postPlatformNotification): * editing/Editor.cpp: (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): git-svn-id: svn://svn.chromium.org/blink/trunk@83049 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment