[Webkit-unassigned] [Bug 53213] Refactoring: Extract TextCheckerClient from EditorClient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 3 01:35:16 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53213





--- Comment #18 from MORITA Hajime <morrita at google.com>  2011-02-03 01:35:16 PST ---
> Ok.  I think we need to give a better name to the class to reflect this concept.  How about SpellCheckingClient or SpellCheckDelegate?  Delegate might make more semantic sense here.
Hmm...

The name "TextChecker" is actually from Cocoa.
http://codesearch.google.com/codesearch?as_q=NSTextChecker&hl=en&vert=chromium
The class doesn't only check spelling, but also check the grammar. So TextChecker looks appropriate. 

In my undestanding, "Client" prefix is a standard naming for classes that handle 
client or platform specific behavior. In WebCore, there are no "XxDelegate" class but 
manu "Client" classes. But I'm not sure the convention is appropriate for this case.
What do you think?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list