public boolean forward () { htmlBytes = null; long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebNavigation.NS_IWEBNAVIGATION_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.GoForward (); webNavigation.Release (); return rc == XPCOM.NS_OK; }
public boolean back () { htmlBytes = null; long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebNavigation.NS_IWEBNAVIGATION_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.GoBack (); webNavigation.Release (); return rc == XPCOM.NS_OK; }
public boolean isBackEnabled () { long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebNavigation.NS_IWEBNAVIGATION_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoBack = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoBack (aCanGoBack); webNavigation.Release (); return aCanGoBack[0] != 0; }
public boolean isForwardEnabled () { long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebNavigation.NS_IWEBNAVIGATION_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoForward = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoForward (aCanGoForward); webNavigation.Release (); return aCanGoForward[0] != 0; }
void Deactivate () { isActive = false; long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebBrowserFocus.NS_IWEBBROWSERFOCUS_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Deactivate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }
@Override public boolean forward () { htmlBytes = null; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.GoForward (); webNavigation.Release (); return rc == XPCOM.NS_OK; }
@Override public boolean isBackEnabled () { int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoBack = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoBack (aCanGoBack); webNavigation.Release (); return aCanGoBack[0] != 0; }
void Activate () { isActive = true; long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebBrowserFocus.NS_IWEBBROWSERFOCUS_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Activate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }
@Override public boolean isBackEnabled () { int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoBack = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoBack (aCanGoBack); webNavigation.Release (); return aCanGoBack[0] != 0; }
@Override public boolean isForwardEnabled () { int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoForward = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoForward (aCanGoForward); webNavigation.Release (); return aCanGoForward[0] != 0; }
@Override public boolean isForwardEnabled () { long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoForward = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoForward (aCanGoForward); webNavigation.Release (); return aCanGoForward[0] != 0; }
@Override public boolean isForwardEnabled () { int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoForward = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoForward (aCanGoForward); webNavigation.Release (); return aCanGoForward[0] != 0; }
@Override public boolean back () { htmlBytes = null; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.GoBack (); webNavigation.Release (); return rc == XPCOM.NS_OK; }
public void stop () { htmlBytes = null; long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (nsIWebNavigation.NS_IWEBNAVIGATION_IID, result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.Stop (nsIWebNavigation.STOP_ALL); if (rc != XPCOM.NS_OK) error (rc); webNavigation.Release (); }
@Override public boolean isBackEnabled () { long /*int*/[] result = new long /*int*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); int[] aCanGoBack = new int[1]; /* PRBool */ rc = webNavigation.GetCanGoBack (aCanGoBack); webNavigation.Release (); return aCanGoBack[0] != 0; }
void Deactivate () { isActive = false; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebBrowserFocus.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Deactivate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }
void Activate () { isActive = true; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebBrowserFocus.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Activate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }
void Activate () { isActive = true; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebBrowserFocus.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Activate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }
@Override public void stop () { htmlBytes = null; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebNavigation.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebNavigation webNavigation = new nsIWebNavigation (result[0]); rc = webNavigation.Stop (nsIWebNavigation.STOP_ALL); if (rc != XPCOM.NS_OK) error (rc); webNavigation.Release (); }
void Deactivate () { isActive = false; int /*long*/[] result = new int /*long*/[1]; int rc = webBrowser.QueryInterface (IIDStore.GetIID (nsIWebBrowserFocus.class), result); if (rc != XPCOM.NS_OK) error (rc); if (result[0] == 0) error (XPCOM.NS_ERROR_NO_INTERFACE); nsIWebBrowserFocus webBrowserFocus = new nsIWebBrowserFocus (result[0]); rc = webBrowserFocus.Deactivate (); if (rc != XPCOM.NS_OK) error (rc); webBrowserFocus.Release (); }