How to zoom and move the selected node to center-screen ?

View: New views
1 Messages — Rating Filter:   Alert me  

How to zoom and move the selected node to center-screen ?

by Partin-巴丁 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am making a brower,by using webkit.I want make the browser support like following description:
    1).User click a editor;
    2).Page zoom to 150% and auto scroll the view,let the eidtor(node) in the center of the view;
    4)Pop up the input window;
    5).user easily enter text.
 
I wondering where to add the code, can somebody tell me? 
Is it the best way or right? If let the webview catch the click-message and then m_frame->setZoomFactor and frame->view()->scroll ? And ,how to catch the click message?

_______________________________________________
webkit-dev mailing list
webkit-dev@...
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev