[webkit-dev] Page, Frame,
FrameView and FrameTree clarification needed
Adam Roben
aroben at apple.com
Mon Jul 16 10:38:42 PDT 2007
On Jul 16, 2007, at 10:28 AM, Holger Freyther wrote:
> Am 16.07.2007 um 18:52 schrieb Adam Roben:
>
>
>>>
>>> Answers and pointers to manual Frame tests would be appreciated.
>>> I'm tempted to go with the 2nd option.
>>
>> I think you'll have a much easier time getting things right in
>> the end if you go with the first option (one native widget
>> (GdkWindow) per Page, not per Frame). Otherwise you'll have lots of
>> trouble getting painting to happen in the correct order (imagine an
>> absolutely positioned div in the main frame that overlaps a
>> subframe -- the subframe needs to paint after everything in the
>> main frame *except* for the div).
>
> Hi Adam,
> this is the answer I had hoped for thanks for pushing me to the
> limits of my Gtk+ knowledge. The first additional question is Page
> doesn't have a paint method, I can only get the mainFrame() and
> Frame has a paint method. I wonder who would own this native Window.
On Windows, the WebView owns the native window (HWND). Though I'm
sure you could find a place to put it in the current design, this
might be a good time to start writing WebKit/gtk.
-Adam
More information about the webkit-dev
mailing list