Bug 1286662 - Add native methods for GeckoNetworkManager notifications; r=snorp
Add and use onConnectionChanged and onStatusChanged native methods in GeckoNetworkManager in place of the network events in GeckoEvent.
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
#endif
|
||||
|
||||
#include "ANRReporter.h"
|
||||
#include "GeckoNetworkManager.h"
|
||||
#include "PrefsHelper.h"
|
||||
|
||||
#ifdef DEBUG_ANDROID_EVENTS
|
||||
@@ -385,6 +386,7 @@ nsAppShell::nsAppShell()
|
||||
GeckoAppShellSupport::Init();
|
||||
GeckoThreadSupport::Init();
|
||||
mozilla::ANRReporter::Init();
|
||||
mozilla::GeckoNetworkManager::Init();
|
||||
mozilla::PrefsHelper::Init();
|
||||
nsWindow::InitNatives();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user