WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 45218
23430
Frame Refactor: Move methods from Frame to Editor
https://bugs.webkit.org/show_bug.cgi?id=23430
Summary
Frame Refactor: Move methods from Frame to Editor
Holger Freyther
Reported
2009-01-20 03:58:53 PST
const Selection& mark() const; // Mark, to be used as emacs uses it. void setMark(const Selection&); void computeAndSetTypingStyle(CSSStyleDeclaration* , EditAction = EditActionUnspecified); String selectionStartStylePropertyValue(int stylePropertyID) const; void applyEditingStyleToBodyElement() const; void applyEditingStyleToElement(Element*) const; IntRect firstRectForRange(Range*) const; void respondToChangedSelection(const Selection& oldSelection, bool closeTyping); bool shouldChangeSelection(const Selection& oldSelection, const Selection& newSelection, EAffinity, bool stillSelecting) const; RenderStyle* styleForSelectionStart(Node*& nodeToRemove) const; unsigned markAllMatchesForText(const String&, bool caseFlag, unsigned limit); bool markedTextMatchesAreHighlighted() const; void setMarkedTextMatchesAreHighlighted(bool flag); PassRefPtr<CSSComputedStyleDeclaration> selectionComputedStyle(Node*& nodeToRemove) const; void textFieldDidBeginEditing(Element*); void textFieldDidEndEditing(Element*); void textDidChangeInTextField(Element*); bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*); void textWillBeDeletedInTextField(Element* input); void textDidChangeInTextArea(Element*); DragImageRef dragImageForSelection();
Attachments
Do the moving
(86.95 KB, patch)
2009-01-20 04:43 PST
,
Holger Freyther
eric
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Holger Freyther
Comment 1
2009-01-20 04:43:30 PST
Created
attachment 26862
[details]
Do the moving Tests pass on the mac. I need to verify the result o git rebase and manual merging as I was hit hard by Sam's work on killing FramePrivate. Review and comments are appreciated right now.
Eric Seidel (no email)
Comment 2
2009-05-21 18:32:55 PDT
Comment on
attachment 26862
[details]
Do the moving So long as you're just moving code, this looks great. I worry that this patch is long-since rotten (that the methods you're moving may have changed). It seems a little strange that selectedText() is on Editor instead of say SelectionController, but it seems fine. r=me, if you make sure the patch is updated to compile with TOT with all the LayoutTests passing and that you're certain that the code you are moving is up-to-date.
Eric Seidel (no email)
Comment 3
2009-06-15 18:57:08 PDT
Comment on
attachment 26862
[details]
Do the moving Not much use having this in the commit queue. You have my r+ if this is updated to work on TOT. I guess I'll mark it r- for now and you can re-post a patch which applies on TOT.
Ryosuke Niwa
Comment 4
2012-05-30 00:54:10 PDT
Fixed in
http://trac.webkit.org/changeset/67122
. *** This bug has been marked as a duplicate of
bug 45218
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug