BrowserWindow Class Reference

#include <BrowserWindow.h>

Inherits Object.

Inheritance diagram for BrowserWindow:

Inheritance graph
[legend]
Collaboration diagram for BrowserWindow:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BrowserWindow (const String &profilePath="", const unsigned int chromeMask=GTK_MOZ_EMBED_FLAG_ALLCHROME)
virtual ~BrowserWindow ()
int mozillaWidget (GtkWidget **mozilla)
int setVisibility (const bool visible=true)
int show ()
int hide ()
int setScrollBarsVisibility (const bool visible=true)
int setStatusBarVisibility (const bool visible=true)
int showStatusBar ()
int hideStatusBar ()
int setProgressBarVisibility (const bool visible=true)
int showProgressBar ()
int hideProgressBar ()
int setProgressBarAutoMode (const bool enabled=true)
int size (int &width, int &height)
int setSize (const int width, const int height)
int position (int &x, int &y)
int setPos (const int x, const int y)
int setXPos (const int x)
int setYPos (const int y)
int textScale (unsigned int &scale)
int setTextScale (const unsigned int scale)
int load (const String &url)
int close ()
int focus ()
int stop ()
int canGoBack (bool &yes)
int back ()
int canGoForward (bool &yes)
int forward ()
int reload (const bool useCache=true)
String status () const
int loadPercent () const
int bytesLoaded () const
int maxBytesLoaded () const
bool loadFinished () const
int renderData (const String &data)
 SIGNAL (closed)
 SIGNAL (shown)
 SIGNAL (hidden)
 SIGNAL (started)
 SIGNAL (finished)

Protected Member Functions

virtual int onDelete ()
virtual int onDestroy ()
virtual int onLocationChanged (const String &newLocation)
virtual int onTitleChanged (const String &newTitle)
virtual int onLoadStarted ()
virtual int onLoadFinished ()
virtual int onNetStateChange (const int flags, const unsigned int status)
virtual int onNetStateChangeAll (const char *uri, const int flags, unsigned int status)
virtual int onProgressChange (const int cur, const int max)
virtual int onProgressChangeAll (const char *uri, const int cur, const int max)
virtual int onLinkMessage (const String &message)
virtual int onJSStatus (const String &message)
virtual int onNewWindow (const unsigned int chromeMask, BrowserWindow **newBrowser)
virtual int onVisibility (const bool visibility)
virtual int onDestroyBrowser ()
virtual int onOpenUri (const char *uri, bool &interrupt)
virtual int onSizeTo (const int width, const int height)
virtual int onKeyDown (nsIDOMKeyEvent *event)
virtual int onKeyPress (nsIDOMKeyEvent *event)
virtual int onKeyUp (nsIDOMKeyEvent *event)
virtual int onMouseDown (nsIDOMMouseEvent *event)
virtual int onMouseUp (nsIDOMMouseEvent *event)
virtual int onMouseClick (nsIDOMMouseEvent *event)
virtual int onMouseDoubleClick (nsIDOMMouseEvent *event)
virtual int onMouseOver (nsIDOMMouseEvent *event)
virtual int onMouseOut (nsIDOMMouseEvent *event)
virtual int onActivate (nsIDOMUIEvent *event)
virtual int onFocusIn (nsIDOMUIEvent *event)
virtual int onFocusOut (nsIDOMUIEvent *event)
virtual BrowserWindownewWindow (const unsigned int chromeMask)

Private Member Functions

int browser (nsIWebBrowser **webBrowser)
int topDomWindow (nsIDOMWindow **window)
int updateStatusBar ()

Static Private Member Functions

static gboolean _onDelete (GtkWidget *widget, GdkEventAny *event, BrowserWindow *browser)
static void _onDestroy (GtkWidget *widget, BrowserWindow *browser)
static void _onLocationChanged (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onTitleChanged (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onLoadStarted (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onLoadFinished (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onNetStateChange (GtkMozEmbed *embed, gint flags, guint status, BrowserWindow *browser)
static void _onNetStateChangeAll (GtkMozEmbed *embed, const char *uri, gint flags, guint status, BrowserWindow *browser)
static void _onProgressChange (GtkMozEmbed *embed, gint cur, gint max, BrowserWindow *browser)
static void _onProgressChangeAll (GtkMozEmbed *embed, const char *uri, gint cur, gint max, BrowserWindow *browser)
static void _onLinkMessage (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onJSStatus (GtkMozEmbed *embed, BrowserWindow *browser)
static void _onNewWindow (GtkMozEmbed *embed, GtkMozEmbed **newEmbed, guint chromeMask, BrowserWindow *browser)
static void _onVisibility (GtkMozEmbed *embed, gboolean visibility, BrowserWindow *browser)
static void _onDestroyBrowser (GtkMozEmbed *embed, BrowserWindow *browser)
static gint _onOpenUri (GtkMozEmbed *embed, const char *uri, BrowserWindow *browser)
static void _onSizeTo (GtkMozEmbed *embed, gint width, gint height, BrowserWindow *browser)
static gint _onKeyDown (GtkMozEmbed *embed, nsIDOMKeyEvent *event, BrowserWindow *browser)
static gint _onKeyPress (GtkMozEmbed *embed, nsIDOMKeyEvent *event, BrowserWindow *browser)
static gint _onKeyUp (GtkMozEmbed *embed, nsIDOMKeyEvent *event, BrowserWindow *browser)
static gint _onMouseDown (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static gint _onMouseUp (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static gint _onMouseClick (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static gint _onMouseDoubleClick (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static gint _onMouseOver (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static gint _onMouseOut (GtkMozEmbed *embed, nsIDOMMouseEvent *event, BrowserWindow *browser)
static void _onSecurityChange (GtkMozEmbed *embed, gpointer request, guint state, BrowserWindow *browser)
static gint _onActivate (GtkMozEmbed *embed, nsIDOMUIEvent *event, BrowserWindow *browser)
static gint _onFocusIn (GtkMozEmbed *embed, nsIDOMUIEvent *event, BrowserWindow *browser)
static gint _onFocusOut (GtkMozEmbed *embed, nsIDOMUIEvent *event, BrowserWindow *browser)
static void _onNewWindowOrphan (GtkMozEmbedSingle *embed, GtkMozEmbed **newEmbed, guint chromeMask, BrowserWindow *browser)

Private Attributes

GtkWidget * _topLevelWindow
GtkWidget * _topLevelVBox
GtkWidget * _mozEmbed
GtkWidget * _progressAreaHBox
GtkWidget * _statusAlign
GtkWidget * _statusBar
GtkWidget * _progressAlign
GtkWidget * _progressBar
bool _statusBarVisible
bool _progressBarVisible
bool _progressBarAutoMode
Status _status

Classes

struct  Status

Detailed Description

Definition at line 26 of file BrowserWindow.h.


Constructor & Destructor Documentation

BrowserWindow::BrowserWindow ( const String profilePath = "",
const unsigned int  chromeMask = GTK_MOZ_EMBED_FLAG_ALLCHROME 
)

Definition at line 23 of file BrowserWindow.cpp.

References _mozEmbed, _onActivate(), _onDelete(), _onDestroy(), _onDestroyBrowser(), _onFocusIn(), _onFocusOut(), _onJSStatus(), _onKeyDown(), _onKeyPress(), _onKeyUp(), _onLinkMessage(), _onLoadFinished(), _onLoadStarted(), _onLocationChanged(), _onMouseClick(), _onMouseDoubleClick(), _onMouseDown(), _onMouseOut(), _onMouseOver(), _onMouseUp(), _onNetStateChange(), _onNetStateChangeAll(), _onNewWindow(), _onNewWindowOrphan(), _onOpenUri(), _onProgressChange(), _onProgressChangeAll(), _onSecurityChange(), _onSizeTo(), _onTitleChanged(), _onVisibility(), _progressAlign, _progressAreaHBox, _progressBar, _statusAlign, _statusBar, _topLevelVBox, _topLevelWindow, CSTRING(), ERROR, Support::failure(), MSG_BROWSER_WINDOW_CANNOT_GET_SINGLETON_EMBED_OBJECT, and MSG_OBJECT_CANNOT_CREATE.

Referenced by newWindow().

BrowserWindow::~BrowserWindow (  )  [virtual]

Definition at line 136 of file BrowserWindow.cpp.

References _topLevelWindow.


Member Function Documentation

int BrowserWindow::mozillaWidget ( GtkWidget **  mozilla  ) 

Definition at line 141 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

Referenced by _onNewWindow().

int BrowserWindow::setVisibility ( const bool  visible = true  ) 

Definition at line 147 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), hide(), OK, and show().

Referenced by onVisibility().

int BrowserWindow::show (  ) 

Definition at line 157 of file BrowserWindow.cpp.

References _mozEmbed, _progressAlign, _progressAreaHBox, _progressBarVisible, _statusAlign, _statusBarVisible, _topLevelVBox, _topLevelWindow, EMIT, and OK.

Referenced by setVisibility(), and Browser::start().

int BrowserWindow::hide (  ) 

Definition at line 171 of file BrowserWindow.cpp.

References _topLevelWindow, EMIT, and OK.

Referenced by onDelete(), and setVisibility().

int BrowserWindow::setScrollBarsVisibility ( const bool  visible = true  ) 

Definition at line 178 of file BrowserWindow.cpp.

References browser(), ERROR, ERROR_BACKTRACE(), FAILED(), MSG_NO_INTERFACE, and OK.

int BrowserWindow::setStatusBarVisibility ( const bool  visible = true  ) 

Definition at line 198 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), hideStatusBar(), OK, and showStatusBar().

int BrowserWindow::showStatusBar (  ) 

Definition at line 208 of file BrowserWindow.cpp.

References _progressAlign, _progressAreaHBox, _statusAlign, _statusBarVisible, and OK.

Referenced by setStatusBarVisibility().

int BrowserWindow::hideStatusBar (  ) 

Definition at line 217 of file BrowserWindow.cpp.

References _progressAlign, _progressAreaHBox, _progressBarVisible, _statusAlign, _statusBarVisible, and OK.

Referenced by setStatusBarVisibility().

int BrowserWindow::setProgressBarVisibility ( const bool  visible = true  ) 

Definition at line 227 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), hideProgressBar(), OK, and showProgressBar().

int BrowserWindow::showProgressBar (  ) 

Definition at line 237 of file BrowserWindow.cpp.

References _progressAreaHBox, _progressBar, _progressBarVisible, and OK.

Referenced by onProgressChange(), and setProgressBarVisibility().

int BrowserWindow::hideProgressBar (  ) 

Definition at line 245 of file BrowserWindow.cpp.

References _progressAreaHBox, _progressBar, _progressBarVisible, _statusBarVisible, and OK.

Referenced by onLoadFinished(), onProgressChange(), and setProgressBarVisibility().

int BrowserWindow::setProgressBarAutoMode ( const bool  enabled = true  ) 

Definition at line 254 of file BrowserWindow.cpp.

References _progressBarAutoMode, and OK.

int BrowserWindow::size ( int &  width,
int &  height 
)

Definition at line 260 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::setSize ( const int  width,
const int  height 
)

Definition at line 266 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::position ( int &  x,
int &  y 
)

Definition at line 279 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::setPos ( const int  x,
const int  y 
)

Definition at line 285 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::setXPos ( const int  x  ) 

Definition at line 291 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::setYPos ( const int  y  ) 

Definition at line 300 of file BrowserWindow.cpp.

References _topLevelWindow, and OK.

int BrowserWindow::textScale ( unsigned int &  scale  ) 

Definition at line 309 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), OK, and topDomWindow().

int BrowserWindow::setTextScale ( const unsigned int  scale  ) 

Definition at line 326 of file BrowserWindow.cpp.

References DEBUG, ERROR_BACKTRACE(), FAILED(), OK, and topDomWindow().

int BrowserWindow::load ( const String url  ) 

Definition at line 342 of file BrowserWindow.cpp.

References _mozEmbed, CSTRING(), DEBUG, and OK.

Referenced by Browser::setUrl().

int BrowserWindow::close (  ) 

Definition at line 350 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), OK, and onDelete().

Referenced by onDestroyBrowser().

int BrowserWindow::focus (  ) 

Definition at line 358 of file BrowserWindow.cpp.

References ERROR, ERROR_BACKTRACE(), FAILED(), MSG_NO_INTERFACE, OK, and topDomWindow().

int BrowserWindow::stop (  ) 

Definition at line 375 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::canGoBack ( bool yes  ) 

Definition at line 381 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::back (  ) 

Definition at line 387 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::canGoForward ( bool yes  ) 

Definition at line 393 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::forward (  ) 

Definition at line 399 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::reload ( const bool  useCache = true  ) 

Definition at line 405 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

String BrowserWindow::status (  )  const

Definition at line 412 of file BrowserWindow.cpp.

References _status, and BrowserWindow::Status::message.

int BrowserWindow::loadPercent (  )  const

Definition at line 417 of file BrowserWindow.cpp.

References _status, and BrowserWindow::Status::loadPercent.

int BrowserWindow::bytesLoaded (  )  const

Definition at line 422 of file BrowserWindow.cpp.

References _status, and BrowserWindow::Status::bytesLoaded.

int BrowserWindow::maxBytesLoaded (  )  const

Definition at line 427 of file BrowserWindow.cpp.

References _status, and BrowserWindow::Status::maxBytesLoaded.

bool BrowserWindow::loadFinished (  )  const

Definition at line 432 of file BrowserWindow.cpp.

References _status, and BrowserWindow::Status::loadFinished.

int BrowserWindow::renderData ( const String data  ) 

Definition at line 437 of file BrowserWindow.cpp.

References _mozEmbed, CSTRING(), and OK.

BrowserWindow::SIGNAL ( closed   ) 

BrowserWindow::SIGNAL ( shown   ) 

BrowserWindow::SIGNAL ( hidden   ) 

BrowserWindow::SIGNAL ( started   ) 

BrowserWindow::SIGNAL ( finished   ) 

int BrowserWindow::onDelete (  )  [protected, virtual]

Definition at line 447 of file BrowserWindow.cpp.

References EMIT, ERROR_BACKTRACE(), FAILED(), hide(), and OK.

Referenced by close().

int BrowserWindow::onDestroy (  )  [protected, virtual]

Definition at line 456 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onLocationChanged ( const String newLocation  )  [protected, virtual]

Definition at line 461 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onTitleChanged ( const String newTitle  )  [protected, virtual]

Definition at line 466 of file BrowserWindow.cpp.

References _topLevelWindow, CSTRING(), and OK.

int BrowserWindow::onLoadStarted (  )  [protected, virtual]

Definition at line 472 of file BrowserWindow.cpp.

References _status, BrowserWindow::Status::bytesLoaded, DEBUG, EMIT, ERROR_BACKTRACE(), FAILED(), BrowserWindow::Status::loadFinished, BrowserWindow::Status::loadPercent, BrowserWindow::Status::maxBytesLoaded, OK, and updateStatusBar().

int BrowserWindow::onLoadFinished (  )  [protected, virtual]

Definition at line 486 of file BrowserWindow.cpp.

References _progressBar, _progressBarAutoMode, _status, BrowserWindow::Status::bytesLoaded, DEBUG, EMIT, ERROR_BACKTRACE(), FAILED(), hideProgressBar(), BrowserWindow::Status::loadFinished, BrowserWindow::Status::loadPercent, BrowserWindow::Status::maxBytesLoaded, OK, and updateStatusBar().

int BrowserWindow::onNetStateChange ( const int  flags,
const unsigned int  status 
) [protected, virtual]

Definition at line 510 of file BrowserWindow.cpp.

References _status, ERROR_BACKTRACE(), FAILED(), BrowserWindow::Status::message, OK, and updateStatusBar().

int BrowserWindow::onNetStateChangeAll ( const char *  uri,
const int  flags,
unsigned int  status 
) [protected, virtual]

Definition at line 549 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onProgressChange ( const int  cur,
const int  max 
) [protected, virtual]

Definition at line 554 of file BrowserWindow.cpp.

References _progressBar, _progressBarAutoMode, _progressBarVisible, _status, BrowserWindow::Status::bytesLoaded, ERROR_BACKTRACE(), FAILED(), hideProgressBar(), BrowserWindow::Status::loadPercent, BrowserWindow::Status::maxBytesLoaded, OK, showProgressBar(), and updateStatusBar().

int BrowserWindow::onProgressChangeAll ( const char *  uri,
const int  cur,
const int  max 
) [protected, virtual]

Definition at line 582 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onLinkMessage ( const String message  )  [protected, virtual]

Definition at line 587 of file BrowserWindow.cpp.

References _status, ERROR_BACKTRACE(), FAILED(), OK, BrowserWindow::Status::tempMessage, and updateStatusBar().

int BrowserWindow::onJSStatus ( const String message  )  [protected, virtual]

Definition at line 596 of file BrowserWindow.cpp.

References _status, OK, and BrowserWindow::Status::tempMessage.

int BrowserWindow::onNewWindow ( const unsigned int  chromeMask,
BrowserWindow **  newBrowser 
) [protected, virtual]

Definition at line 602 of file BrowserWindow.cpp.

References ERROR, MSG_NULL_POINTER, newWindow(), and OK.

int BrowserWindow::onVisibility ( const bool  visibility  )  [protected, virtual]

Definition at line 609 of file BrowserWindow.cpp.

References ERROR_BACKTRACE(), FAILED(), OK, and setVisibility().

int BrowserWindow::onDestroyBrowser (  )  [protected, virtual]

Definition at line 617 of file BrowserWindow.cpp.

References close(), ERROR_BACKTRACE(), FAILED(), and OK.

int BrowserWindow::onOpenUri ( const char *  uri,
bool interrupt 
) [protected, virtual]

Definition at line 625 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onSizeTo ( const int  width,
const int  height 
) [protected, virtual]

Definition at line 631 of file BrowserWindow.cpp.

References _mozEmbed, and OK.

int BrowserWindow::onKeyDown ( nsIDOMKeyEvent *  event  )  [protected, virtual]

Definition at line 637 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onKeyPress ( nsIDOMKeyEvent *  event  )  [protected, virtual]

Definition at line 642 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onKeyUp ( nsIDOMKeyEvent *  event  )  [protected, virtual]

Definition at line 647 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseDown ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 652 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseUp ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 657 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseClick ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 662 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseDoubleClick ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 667 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseOver ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 672 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onMouseOut ( nsIDOMMouseEvent *  event  )  [protected, virtual]

Definition at line 677 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onActivate ( nsIDOMUIEvent *  event  )  [protected, virtual]

Definition at line 682 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onFocusIn ( nsIDOMUIEvent *  event  )  [protected, virtual]

Definition at line 687 of file BrowserWindow.cpp.

References OK.

int BrowserWindow::onFocusOut ( nsIDOMUIEvent *  event  )  [protected, virtual]

Definition at line 692 of file BrowserWindow.cpp.

References OK.

BrowserWindow * BrowserWindow::newWindow ( const unsigned int  chromeMask  )  [protected, virtual]

Definition at line 697 of file BrowserWindow.cpp.

References BrowserWindow(), ERROR, ERROR_BACKTRACE(), FAILED(), Support::failureCode(), and MSG_OBJECT_CANNOT_CREATE.

Referenced by onNewWindow().

int BrowserWindow::browser ( nsIWebBrowser **  webBrowser  )  [private]

Definition at line 716 of file BrowserWindow.cpp.

References _mozEmbed, ERROR, MSG_NULL_POINTER, and OK.

Referenced by _onActivate(), _onDelete(), _onDestroy(), _onDestroyBrowser(), _onFocusIn(), _onFocusOut(), _onJSStatus(), _onKeyDown(), _onKeyPress(), _onKeyUp(), _onLinkMessage(), _onLoadFinished(), _onLoadStarted(), _onLocationChanged(), _onMouseClick(), _onMouseDoubleClick(), _onMouseDown(), _onMouseOut(), _onMouseOver(), _onMouseUp(), _onNetStateChange(), _onNetStateChangeAll(), _onNewWindow(), _onNewWindowOrphan(), _onOpenUri(), _onProgressChange(), _onProgressChangeAll(), _onSizeTo(), _onTitleChanged(), _onVisibility(), setScrollBarsVisibility(), and topDomWindow().

int BrowserWindow::topDomWindow ( nsIDOMWindow **  window  )  [private]

Definition at line 729 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), FAILED(), and OK.

Referenced by focus(), setTextScale(), and textScale().

gboolean BrowserWindow::_onDelete ( GtkWidget *  widget,
GdkEventAny *  event,
BrowserWindow browser 
) [static, private]

Definition at line 749 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onDestroy ( GtkWidget *  widget,
BrowserWindow browser 
) [static, private]

Definition at line 759 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onLocationChanged ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 766 of file BrowserWindow.cpp.

References browser(), ERROR, ERROR_BACKTRACE(), FAILED(), and MSG_BROWSER_WINDOW_LOCATION_CANNOT_GET.

Referenced by BrowserWindow().

void BrowserWindow::_onTitleChanged ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 779 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onLoadStarted ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 790 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onLoadFinished ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 797 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onNetStateChange ( GtkMozEmbed *  embed,
gint  flags,
guint  status,
BrowserWindow browser 
) [static, private]

Definition at line 804 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onNetStateChangeAll ( GtkMozEmbed *  embed,
const char *  uri,
gint  flags,
guint  status,
BrowserWindow browser 
) [static, private]

Definition at line 811 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onProgressChange ( GtkMozEmbed *  embed,
gint  cur,
gint  max,
BrowserWindow browser 
) [static, private]

Definition at line 818 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onProgressChangeAll ( GtkMozEmbed *  embed,
const char *  uri,
gint  cur,
gint  max,
BrowserWindow browser 
) [static, private]

Definition at line 825 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onLinkMessage ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 832 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onJSStatus ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 842 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onNewWindow ( GtkMozEmbed *  embed,
GtkMozEmbed **  newEmbed,
guint  chromeMask,
BrowserWindow browser 
) [static, private]

Definition at line 852 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), FAILED(), and mozillaWidget().

Referenced by _onNewWindowOrphan(), and BrowserWindow().

void BrowserWindow::_onVisibility ( GtkMozEmbed *  embed,
gboolean  visibility,
BrowserWindow browser 
) [static, private]

Definition at line 872 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onDestroyBrowser ( GtkMozEmbed *  embed,
BrowserWindow browser 
) [static, private]

Definition at line 879 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onOpenUri ( GtkMozEmbed *  embed,
const char *  uri,
BrowserWindow browser 
) [static, private]

Definition at line 886 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onSizeTo ( GtkMozEmbed *  embed,
gint  width,
gint  height,
BrowserWindow browser 
) [static, private]

Definition at line 897 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onKeyDown ( GtkMozEmbed *  embed,
nsIDOMKeyEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 904 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onKeyPress ( GtkMozEmbed *  embed,
nsIDOMKeyEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 914 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onKeyUp ( GtkMozEmbed *  embed,
nsIDOMKeyEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 924 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseDown ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 934 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseUp ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 944 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseClick ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 954 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseDoubleClick ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 964 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseOver ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 974 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onMouseOut ( GtkMozEmbed *  embed,
nsIDOMMouseEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 984 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onSecurityChange ( GtkMozEmbed *  embed,
gpointer  request,
guint  state,
BrowserWindow browser 
) [static, private]

Definition at line 994 of file BrowserWindow.cpp.

Referenced by BrowserWindow().

gint BrowserWindow::_onActivate ( GtkMozEmbed *  embed,
nsIDOMUIEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 998 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onFocusIn ( GtkMozEmbed *  embed,
nsIDOMUIEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 1008 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

gint BrowserWindow::_onFocusOut ( GtkMozEmbed *  embed,
nsIDOMUIEvent *  event,
BrowserWindow browser 
) [static, private]

Definition at line 1018 of file BrowserWindow.cpp.

References browser(), ERROR_BACKTRACE(), and FAILED().

Referenced by BrowserWindow().

void BrowserWindow::_onNewWindowOrphan ( GtkMozEmbedSingle *  embed,
GtkMozEmbed **  newEmbed,
guint  chromeMask,
BrowserWindow browser 
) [static, private]

Definition at line 1028 of file BrowserWindow.cpp.

References _onNewWindow(), and browser().

Referenced by BrowserWindow().

int BrowserWindow::updateStatusBar (  )  [private]

Definition at line 1033 of file BrowserWindow.cpp.

References _status, _statusBar, BrowserWindow::Status::bytesLoaded, CSTRING(), BrowserWindow::Status::loadPercent, BrowserWindow::Status::maxBytesLoaded, BrowserWindow::Status::message, OK, String::sprintf(), and BrowserWindow::Status::tempMessage.

Referenced by onLinkMessage(), onLoadFinished(), onLoadStarted(), onNetStateChange(), and onProgressChange().


Member Data Documentation

GtkWidget* BrowserWindow::_topLevelWindow [private]

Definition at line 196 of file BrowserWindow.h.

Referenced by BrowserWindow(), hide(), onTitleChanged(), position(), setPos(), setSize(), setXPos(), setYPos(), show(), size(), and ~BrowserWindow().

GtkWidget* BrowserWindow::_topLevelVBox [private]

Definition at line 197 of file BrowserWindow.h.

Referenced by BrowserWindow(), and show().

GtkWidget* BrowserWindow::_mozEmbed [private]

Definition at line 198 of file BrowserWindow.h.

Referenced by back(), browser(), BrowserWindow(), canGoBack(), canGoForward(), forward(), load(), mozillaWidget(), onSizeTo(), reload(), renderData(), show(), and stop().

GtkWidget* BrowserWindow::_progressAreaHBox [private]

Definition at line 199 of file BrowserWindow.h.

Referenced by BrowserWindow(), hideProgressBar(), hideStatusBar(), show(), showProgressBar(), and showStatusBar().

GtkWidget* BrowserWindow::_statusAlign [private]

Definition at line 200 of file BrowserWindow.h.

Referenced by BrowserWindow(), hideStatusBar(), show(), and showStatusBar().

GtkWidget* BrowserWindow::_statusBar [private]

Definition at line 201 of file BrowserWindow.h.

Referenced by BrowserWindow(), and updateStatusBar().

GtkWidget* BrowserWindow::_progressAlign [private]

Definition at line 202 of file BrowserWindow.h.

Referenced by BrowserWindow(), hideStatusBar(), show(), and showStatusBar().

GtkWidget* BrowserWindow::_progressBar [private]

Definition at line 203 of file BrowserWindow.h.

Referenced by BrowserWindow(), hideProgressBar(), onLoadFinished(), onProgressChange(), and showProgressBar().

bool BrowserWindow::_statusBarVisible [private]

Definition at line 205 of file BrowserWindow.h.

Referenced by hideProgressBar(), hideStatusBar(), show(), and showStatusBar().

bool BrowserWindow::_progressBarVisible [private]

Definition at line 206 of file BrowserWindow.h.

Referenced by hideProgressBar(), hideStatusBar(), onProgressChange(), show(), and showProgressBar().

bool BrowserWindow::_progressBarAutoMode [private]

Definition at line 207 of file BrowserWindow.h.

Referenced by onLoadFinished(), onProgressChange(), and setProgressBarAutoMode().

Status BrowserWindow::_status [private]

Definition at line 208 of file BrowserWindow.h.

Referenced by bytesLoaded(), loadFinished(), loadPercent(), maxBytesLoaded(), onJSStatus(), onLinkMessage(), onLoadFinished(), onLoadStarted(), onNetStateChange(), onProgressChange(), status(), and updateStatusBar().


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:13:30 2007 for Pylon Application Platform by  doxygen 1.5.1