Class Index | File Index

Classes


Class AppIntegration


Defined in: AppIntegration.jsm.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exported app integration functions.
Method Summary
Method Attributes Method Name and Description
<static>  
AppIntegration.addWindow(window)
Adds an application window to the tracked list.
<static>  
AppIntegration.getWrapperForWindow(wnd)
Retrieves the wrapper object corresponding to a particular application window.
<static>  
AppIntegration.openMenu(window)
Opens ABP menu.
<static>  
AppIntegration.toggleFilter(filter)
If the given filter is already in user's list, removes it from the list.
<static>  
AppIntegration.togglePref(pref)
Toggles the value of a boolean preference.
<static>  
AppIntegration.toggleSync()
Toggles the pref for the Adblock Plus sync engine.
<static>  
AppIntegration.toggleToolbarIcon()
Adds or removes the Adblock Plus toolbar icon.
Class Detail
AppIntegration()
Exported app integration functions.
Method Detail
<static> AppIntegration.addWindow(window)
Adds an application window to the tracked list.
Parameters:
{Window} window

<static> {WindowWrapper} AppIntegration.getWrapperForWindow(wnd)
Retrieves the wrapper object corresponding to a particular application window.
Parameters:
{Window} wnd

<static> AppIntegration.openMenu(window)
Opens ABP menu.
Parameters:
window

<static> AppIntegration.toggleFilter(filter)
If the given filter is already in user's list, removes it from the list. Otherwise adds it.
Parameters:
{Filter} filter

<static> AppIntegration.togglePref(pref)
Toggles the value of a boolean preference.
Parameters:
{String} pref

<static> {Boolean} AppIntegration.toggleSync()
Toggles the pref for the Adblock Plus sync engine.
Returns:
{Boolean} new state of the sync engine

<static> {Boolean} AppIntegration.toggleToolbarIcon()
Adds or removes the Adblock Plus toolbar icon.
Returns:
{Boolean} new state of the toolbar button

Documentation generated by JsDoc Toolkit 2.3.2 on Wed May 09 2012 10:50:20 GMT+0000 (UTC)