[Webkit-unassigned] [Bug 39854] Refactor platform depedent editing behavior code out of Settings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 27 15:29:25 PDT 2010


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





--- Comment #3 from Darin Adler <darin at apple.com>  2010-05-27 15:29:22 PST ---
I originally had imagined an enum and functions that took that enum as an argument.

A class is OK too, but I don't think it needs to be mutable. Instead the constructor can take an argument of the behavior, and to change it you can just replace the object with an entirely new one. There's no need to ever take a pointer to one of these.

-- 
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