Closed
Bug 258039
Opened 21 years ago
Closed 21 years ago
nsCWebBrowser.idl should be part of the gecko SDK
Categories
(Core Graveyard :: Embedding: APIs, enhancement)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: bzbarsky)
References
()
Details
Attachments
(1 file)
|
7.75 KB,
patch
|
darin.moz
:
review+
|
Details | Diff | Splinter Review |
(see also
news://news.mozilla.org:119/%3C282cac13.0409040939.5d4c13a7@posting.google.com%3E)
A lot of samples use NS_WEBBROWSER_CONTRACTID to refer to the component
implementing nsIWebBrowser, we should allow using that from the SDK and make
nsCWebBrowser part of it. It only defines a CID and ContractID for nsIWebBrowser.
Comment 1•21 years ago
|
||
This is crap ;) We shouldn't be defining NS_WEBBROWSER_CID anywhere public, and
we shouldn't be defining NS_WEBBROWSER_CONTRACTID in an IDL file. Let's create
an nsEmbedCID.h like nsXPCOMCID.h (for frozen contractIDs only, unlike nsNetCID).
Because the samples all use do_CreateInstance() it should be added to the SDK as
well (see the same newsgroup posting).
| Reporter | ||
Comment 3•21 years ago
|
||
*** Bug 284297 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 4•21 years ago
|
||
I like the idea of nsEmbedCID.h. Is anyone actually opposed to it? If not,
let's just do it.
Comment 5•21 years ago
|
||
> I like the idea of nsEmbedCID.h. Is anyone actually opposed to it? If not,
> let's just do it.
I agree.
| Assignee | ||
Comment 6•21 years ago
|
||
This creates nsEmbedCID.h, puts NS_WEBBROWSER_CONTRACTID in it, and exports it
as part of the SDK. I only documented frozen interfaces as being implemented
by the contract for the time being. I also left nsICWebBrowser.idl almost
as-is, since a lot of the Mozilla embedding code includes it and it includes a
whole slew of IDL files; I'd have to either include those all over or
test-compile on a bazillion platforms. I think all the includers ought to be
ok with including nsEmbedCID.h, since they already include nsEmbedAPI.h... (so
already REQUIRE embed_base).
Not sure whether Adam should review this; your call, Darin.
Attachment #176011 -
Flags: review?(darin)
Comment 7•21 years ago
|
||
Comment on attachment 176011 [details] [diff] [review]
Possible patch
>Index: embedding/base/nsEmbedCID.h
>+ * Web Browser contract id
I've been writing ContractID elsewhere in Gecko documention, and I
think it works well since it really is a jargon term.
r=darin
Attachment #176011 -
Flags: review?(darin) → review+
| Assignee | ||
Updated•21 years ago
|
Assignee: adamlock → bzbarsky
| Assignee | ||
Comment 8•21 years ago
|
||
Checked in. I'll post to n.p.m.embedding.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•21 years ago
|
||
Bug 285080 filed on putting more things in nsEmbedCID.h.
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•