Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 704430 - Remove nsLayoutUtils::GetFrameFor
: Remove nsLayoutUtils::GetFrameFor
Product: Core
Classification: Components
Component: Layout (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla12
Assigned To: Jignesh Kakadiya [:jhk]
: Jet Villegas (:jet)
Depends on:
  Show dependency treegraph
Reported: 2011-11-21 23:45 PST by :Ms2ger (⌚ UTC+1/+2)
Modified: 2012-01-09 15:12 PST (History)
6 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Removed nsLayoutUtils::GetFrameFor. (2.40 KB, patch)
2012-01-06 01:45 PST, Jignesh Kakadiya [:jhk]
no flags Details | Diff | Splinter Review
Removed nsLayoutUtils::GetFrameFor. (2.40 KB, patch)
2012-01-06 01:47 PST, Jignesh Kakadiya [:jhk]
Ms2ger: review+
roc: superreview+
Details | Diff | Splinter Review

Description :Ms2ger (⌚ UTC+1/+2) 2011-11-21 23:45:05 PST
After bug 703260, it just wraps aView->GetFrame(), and there's only one consumer: <>.
Comment 1 parthasarathy 2011-12-02 22:19:56 PST
I'm a systems engineer with c/c++ experience. I aware this is a code cleanup / refactoring exercise. But I want to get started.
Comment 2 :Ms2ger (⌚ UTC+1/+2) 2011-12-03 00:51:06 PST

The implementation is at <>. Please do let me know if you need any help.
Comment 3 parthasarathy 2011-12-06 03:57:24 PST
Thanks for the info Ms2ger ! Can I get some pointer / wiki related to the eventHandling, just to have a picture ?
Comment 4 :Ms2ger (⌚ UTC+1/+2) 2011-12-06 03:58:58 PST
No idea myself, but smaug might have pointers.
Comment 5 Olli Pettay [:smaug] 2011-12-07 11:18:01 PST
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 parthasarathy 2011-12-08 04:24:54 PST
@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.
Comment 7 Jignesh Kakadiya [:jhk] 2012-01-06 01:45:04 PST
Created attachment 586360 [details] [diff] [review]
Removed nsLayoutUtils::GetFrameFor.

Comment 8 Jignesh Kakadiya [:jhk] 2012-01-06 01:47:08 PST
Created attachment 586361 [details] [diff] [review]
Removed nsLayoutUtils::GetFrameFor.

Comment 9 :Ms2ger (⌚ UTC+1/+2) 2012-01-06 02:59:33 PST
Comment on attachment 586361 [details] [diff] [review]
Removed nsLayoutUtils::GetFrameFor.

Looks good to me, asking roc to sign off as well.
Comment 11 Ed Morley [:emorley] 2012-01-09 15:12:30 PST

Thanks for the patch parthasarathy! Hope to see you on IRC in #developers soon :-)

Note You need to log in before you can comment on or make changes to this bug.