Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using HiWebView



On Aug 27, 2007, at 1:35 AM, Damien Chavarria wrote:

None of the browser's (Safari, Firefox, Camino, ...) windows seem to be composited so my code falls back to what the SimpleCarbonWeb sample does, i.e. insert the HiWebView I just created into the root control of the window. Here comes the problem, the browser windows (at least I'm sure in Safari from debugging into it) doesn't seem to have a root control! What I try to do then is create one with CreateRootControl() and embed the HiWebView into it and show it. At this point I see a white frame where the HiWebView should be. It fails to load a page however (doesn't show anything) and has problems redrawing (does not redraw at all actually) so I figure something must be wrong. In Firefox it doesn't even show the white area.

I don't know why this is failing.

This is really a Carbon question, not a WebKit question. Your issues seems generic to any use of HIView in browser plug-ins, not specific to HIWebView. For debugging purposes you might want to first get it working with another HIView so you can isolate the HIWebView issues from the general HIView issues.

I would have assumed Safari was already using HiWebView to begin with and would allow me to use it as well (but maybe that's actually why it doesn't?).

Safari is a Cocoa application, so it's not using HIWebView.

    -- Darin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem using HiWebView (From: "Damien Chavarria" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.