Closed
Bug 704430
Opened 14 years ago
Closed 14 years ago
Remove nsLayoutUtils::GetFrameFor
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: Ms2ger, Assigned: jhk)
Details
(Whiteboard: [good_first_bug][mentor=Ms2ger])
Attachments
(1 file, 1 obsolete file)
|
2.40 KB,
patch
|
Ms2ger
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
After bug 703260, it just wraps aView->GetFrame(), and there's only one consumer: <http://mxr.mozilla.org/mozilla-central/source/content/events/src/nsContentEventHandler.cpp#813>.
Comment 1•14 years ago
|
||
I'm a systems engineer with c/c++ experience. I aware this is a code cleanup / refactoring exercise. But I want to get started.
| Reporter | ||
Comment 2•14 years ago
|
||
Hi!
The implementation is at <http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.h#340>. Please do let me know if you need any help.
Comment 3•14 years ago
|
||
Thanks for the info Ms2ger ! Can I get some pointer / wiki related to the eventHandling, just to have a picture ?
| Reporter | ||
Comment 4•14 years ago
|
||
No idea myself, but smaug might have pointers.
Comment 5•14 years ago
|
||
Well, since the method is trivial, you can just copy its code to the only place it is used.
What kind of information about event handling is needed?
widget level code dispatches nsEvents to viewmanager/view which ends up to presshell which
calls nsEventStateManager. And between nsEventStateManager::PreHandleEvent and
PostHandleEvent event is dispatched to DOM.
Comment 6•14 years ago
|
||
@smaug: Thanks for the information.
I've started with the issue. I mostly work on Solaris10/Solaris11 x86. I'm currently trying to get a clean build for now. Will post a patch when done.
| Assignee | ||
Comment 7•14 years ago
|
||
Patch
Assignee: nobody → jigneshhk1992
Attachment #586360 -
Flags: review?(Ms2ger)
| Assignee | ||
Comment 8•14 years ago
|
||
Patch2
Attachment #586360 -
Attachment is obsolete: true
Attachment #586360 -
Flags: review?(Ms2ger)
Attachment #586361 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 9•14 years ago
|
||
Comment on attachment 586361 [details] [diff] [review]
Removed nsLayoutUtils::GetFrameFor.
Looks good to me, asking roc to sign off as well.
Attachment #586361 -
Flags: superreview?(roc)
Attachment #586361 -
Flags: review?(Ms2ger)
Attachment #586361 -
Flags: review+
Attachment #586361 -
Flags: superreview?(roc) → superreview+
| Reporter | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 10•14 years ago
|
||
Keywords: checkin-needed
Target Milestone: --- → mozilla12
Comment 11•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6a84838e8c98
Thanks for the patch parthasarathy! Hope to see you on IRC in #developers soon :-)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•