Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsPluginNativeWindowGtk2.cpp File Reference
#include "nsDebug.h"
#include "nsPluginNativeWindow.h"
#include "npapi.h"
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <gdk/gdk.h>

Go to the source code of this file.

Classes

class  nsPluginNativeWindowGtk2
 This file is the Gtk2 implementation of plugin native window. More...

Functions

static gboolean plug_removed_cb (GtkWidget *widget, gpointer data)
nsresult PLUG_NewPluginNativeWindow (nsPluginNativeWindow **aPluginNativeWindow)
nsresult PLUG_DeletePluginNativeWindow (nsPluginNativeWindow *aPluginNativeWindow)

Function Documentation

Definition at line 103 of file nsPluginNativeWindowGtk2.cpp.

{
  NS_ENSURE_ARG_POINTER(aPluginNativeWindow);
  nsPluginNativeWindowGtk2 *p = (nsPluginNativeWindowGtk2 *)aPluginNativeWindow;
  delete p;
  return NS_OK;
}

Definition at line 96 of file nsPluginNativeWindowGtk2.cpp.

{
  NS_ENSURE_ARG_POINTER(aPluginNativeWindow);
  *aPluginNativeWindow = new nsPluginNativeWindowGtk2();
  return *aPluginNativeWindow ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
gboolean plug_removed_cb ( GtkWidget *  widget,
gpointer  data 
) [static]

Definition at line 247 of file nsPluginNativeWindowGtk2.cpp.

{
  // Gee, thanks for the info!
  return TRUE;
}

Here is the caller graph for this function: