List of usage examples for com.google.gwt.chrome.crx.client Debugger getEvent
public native static DebuggerEvent getEvent() ;
From source file:com.google.speedtracer.client.model.ChromeDebuggerDataInstance.java
License:Apache License
private static void ensureRecordRouter() { if (recordRouter == null) { recordRouter = JsIntegerMap.create(); Debugger.getEvent().addListener(new DebuggerEvent.Listener() { public void onEvent(Debuggee source, String method, RawDebuggerEventRecord params) { Proxy proxy = recordRouter.get(source.getTabId()); if (proxy == null) { // Some other extension must be debugging this. return; }/* ww w.j av a2 s .c o m*/ // Dispatch the event to this guy. proxy.dispatchDebuggerEventRecord(method, params); } }); } }