Closed Bug 217660 Opened 22 years ago Closed 9 years ago

Implement simple embedding interface

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: adamlock, Assigned: adamlock)

Details

Attachments

(3 files, 2 obsolete files)

Writing an embedding application is a major pain because creating a chrome object is horribly complicated. Create a simple embedding object which does the hard work, implementing the umpteen interfaces with a simple callback interface when it needs the client to do something.
Attached file nsSimpleEmbedding.cpp (obsolete) —
Work in progress. nsSimpleEmbedding.cpp implements nsISimpleEmbedding and the N other embedding interfaces and calls out to nsISimpleEmbeddingUI when it has to.
Attached file nsSimpleEmbedding.h
Header file
Attached file nsISimpleEmbedding.idl (obsolete) —
Definitions of nsISimpleEmbedding and nsISimpleEmbeddingUI. The embedder would create the object via NS_CreateSimpleEmbedding() supplying their own nsISimpleEmbeddingUI impl as one of the args. The simple embedding object has a method for creating a webbrowser and will call out to the UI with any notifications etc.
Attached file nsSimpleEmbedding.cpp
Updated version
Attachment #130564 - Attachment is obsolete: true
Attached file nsISimpleEmbedding.idl
Updated with new methods for nsISimpleEmbedding for easy resizing operations. The issue of window creation needs more thought.
Attachment #130566 - Attachment is obsolete: true
QA Contact: carosendahl → apis
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: