Bug 58111 - [Meta] Make DocumentMarker and DocumentMarkerController more clean and extensible.
Summary: [Meta] Make DocumentMarker and DocumentMarkerController more clean and extens...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Hajime Morrita
Depends on: 56812 56814 58112 58113 59815 59855
  Show dependency treegraph
Reported: 2011-04-07 18:39 PDT by Hajime Morrita
Modified: 2011-12-14 23:21 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Morrita 2011-04-07 18:39:33 PDT
There are several ugly parts around DocumentMarkerController.

- DocumentMarker::MarkerType and DocumentMarker::MarkerTypes is used in confusing way.
- markers are stored inside a pair of vectors, which should be a vector of some struct or class.
- DocumentMarker has very limited metadata. We want store subtype dependent metadata like suggestions and descriptions, etc.

This meta-bug will track the problem above.