Lines 62-68
Link Here
|
62 |
#include <nsCOMPtr.h> |
62 |
#include <nsCOMPtr.h> |
63 |
#include <nsNetCID.h> |
63 |
#include <nsNetCID.h> |
64 |
#include <nsIIOService.h> |
64 |
#include <nsIIOService.h> |
65 |
#include <nsIJVMManager.h> |
|
|
66 |
#include <nsIFontEnumerator.h> |
65 |
#include <nsIFontEnumerator.h> |
67 |
#include <nsISupportsPrimitives.h> |
66 |
#include <nsISupportsPrimitives.h> |
68 |
#include <nsIPermissionManager.h> |
67 |
#include <nsIPermissionManager.h> |
Lines 118-125
Link Here
|
118 |
MozillaEncodings *encodings; |
117 |
MozillaEncodings *encodings; |
119 |
}; |
118 |
}; |
120 |
|
119 |
|
121 |
static NS_DEFINE_CID(kJVMManagerCID, NS_JVMMANAGER_CID); |
|
|
122 |
|
123 |
G_DEFINE_TYPE (MozillaEmbedShell, mozilla_embed_shell, GALEON_TYPE_EMBED_SHELL); |
120 |
G_DEFINE_TYPE (MozillaEmbedShell, mozilla_embed_shell, GALEON_TYPE_EMBED_SHELL); |
124 |
|
121 |
|
125 |
static gboolean |
122 |
static gboolean |
Lines 514-524
Link Here
|
514 |
static void |
511 |
static void |
515 |
impl_show_java_console (GaleonEmbedShell *shell) |
512 |
impl_show_java_console (GaleonEmbedShell *shell) |
516 |
{ |
513 |
{ |
517 |
nsCOMPtr<nsIJVMManager> JVMManager = do_GetService (kJVMManagerCID); |
|
|
518 |
if (JVMManager) |
519 |
{ |
520 |
JVMManager->ShowJavaConsole (); |
521 |
} |
522 |
} |
514 |
} |
523 |
|
515 |
|
524 |
static GaleonEncodings * |
516 |
static GaleonEncodings * |