• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notes about WebCore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notes about WebCore


  • Subject: Re: Notes about WebCore
  • From: Kazutoshi Kubota <email@hidden>
  • Date: Mon, 13 Jan 2003 01:25:37 +0900

Hi all,

On 2003.1.11, at 21:21 Asia/Tokyo, Phillip Mills wrote:

In my nib controller awakeFromNib, I created an instance of my
WebCoreBridge subclass and sent in the above message, followed by an
openUrl like yours. Nothing crashed, but I traced the code as far as
it emitting a Qt signal to start loading the URL (I think!). I have
not been able to figure out what's supposed to be connected to that
signal to see where processing goes from there.

I tried to log invoking methods of WebCoreBridge.
Safari called them with following order...

-[WebCoreBridge init]
-[WebCoreBridge setTextSizeMultiplier:]
-[WebCoreBridge setName]
-[WebCoreBridge canCachePage]
-[WebCoreBridge createKHTMLViewWithNSView:marginWidth:marginHeight:]
-[WebCoreBridge removeFromFrame:] (WebCoreBridge self invoking)
-[WebCoreBridge installInFrame:]
-[WebCoreBridge openURL:reload:headers:lastModified:pageCache:]
-[WebCoreBridge saveDocumentState] (WebCoreBridge self invoking)
-[WebCoreBridge addData:withEncoding:]
-[WebCoreBridge restoreDocumentState] (WebCoreBridge self invoking?)
-[WebCoreBridge referrer]
-[WebCoreBridge forceLayout]
-[WebCoreBridge addData:withEncoding:]
-[WebCoreBridge needsLayout] (WebCoreBridge self invoking)
-[WebCoreBridge drawRect:]
-[WebCoreBridge drawRect:withPainter:] (WebCoreBridge self invoking)
-[WebCoreBridge frameBorderStyle] (WebCoreBridge self invoking)
-[WebCoreBridge referrer] (many times invoking...)
-[WebCoreBridge end]

And at least needed to implement following protocol methods...
- (int)getObjectCacheSize;
- (BOOL)isReloading;
- (void)setIconURL:(NSString *)URL;
- (NSArray *)documentState;
- (NSString *)requestedURL;
- (void)setTitle:(NSString *)title;
- (void)setNeedsLayout;
- (id)startLoadingResource:(id)loader withURL:(NSString *)URL;

Sadly, my effort is not enough for displaying rendered view :(
My test app got EXC_BAD_ACCESS after invoking setTitle:
by WebCore, and I did not solve the problem yet.

Thanks,
----
Kazutoshi Kubota <email@hidden>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Notes about WebCore
      • From: Phillip Mills <email@hidden>
References: 
 >Re: Notes about WebCore (From: Phillip Mills <email@hidden>)

  • Prev by Date: Re: Removing submenus from a menu
  • Next by Date: Re: Aqua Human Interface and Safari
  • Previous by thread: Re: Notes about WebCore
  • Next by thread: Re: Notes about WebCore
  • Index(es):
    • Date
    • Thread