gtk_moz_embed_get_nsIWebBrowser not in the glue

RESOLVED FIXED in mozilla1.9beta3

Status

Core Graveyard
Embedding: GTK Widget
RESOLVED FIXED
11 years ago
6 years ago

People

(Reporter: Marco Pesenti Gritti, Assigned: Alexander Sack)

Tracking

Trunk
mozilla1.9beta3
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

11 years ago
gtk_moz_embed_get_nsIWebBrowser is currently not exposed in the glue. That means there is no way for an embedding user to get access to the nsIWebBrowser wrapped by gtkmozembed (and so to the dom document etc).

Comment 1

11 years ago
romaxa: isn't this in the wrong file?
/embedding/browser/gtk/src/gtkmozembed_internal.h, 
line 54 -- gtk_moz_embed_get_nsIWebBrowser, (GtkMozEmbed *embed,
Assignee: nobody → romaxa
(Assignee)

Comment 2

10 years ago
Created attachment 295042 [details] [diff] [review]
include gtkmozembed_internal.h symbols in glue

microb backout removed the gtkmozembed_internal + the gtkmozembed_common symbols. This patch adds the internal ones.
Attachment #295042 - Flags: review?(benjamin)

Comment 3

10 years ago
Comment on attachment 295042 [details] [diff] [review]
include gtkmozembed_internal.h symbols in glue

I don't think this is what we want... the internal functions may not be present in future versions of libxul, and so these functions would fail to load.

Wouldn't it make more sense to have clients explicitly load the internal functions that they are using, *or*... load these functions by default, but don't make it an error if they don't load correctly?
Attachment #295042 - Flags: review?(benjamin) → review-
(Assignee)

Comment 4

10 years ago
Created attachment 295228 [details] [diff] [review]
introduce GTKEmbedStartupInternal
Assignee: romaxa → asac
Attachment #295042 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #295228 - Flags: review?(benjamin)

Updated

10 years ago
Attachment #295228 - Flags: review?(benjamin) → review+
(Assignee)

Comment 5

10 years ago
Comment on attachment 295228 [details] [diff] [review]
introduce GTKEmbedStartupInternal

asking approval1.9: _internal.h symbols are still frequently used by real-world gecko embedders.
Attachment #295228 - Flags: approval1.9?

Updated

10 years ago
Attachment #295228 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in embedding/browser/gtk/src/gtkmozembed_glue.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/gtkmozembed_glue.cpp,v  <--  gtkmozembed_glue.cpp
new revision: 1.9; previous revision: 1.8
done
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
Version: unspecified → Trunk
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.