| Index: webkit/glue/devtools/js/inject_dispatch.js
|
| ===================================================================
|
| --- webkit/glue/devtools/js/inject_dispatch.js (revision 30693)
|
| +++ webkit/glue/devtools/js/inject_dispatch.js (working copy)
|
| @@ -61,6 +61,18 @@
|
| return;
|
| }
|
|
|
| + // Sniff some inspector controller state changes in order to support
|
| + // cross-navigation instrumentation. Keep names in sync with
|
| + // webdevtoolsagent_impl.
|
| + if (method == 'timelineProfilerWasStarted')
|
| + DevToolsAgentHost.runtimeFeatureStateChanged('timeline-profiler', true);
|
| + else if (method == 'timelineProfilerWasStopped')
|
| + DevToolsAgentHost.runtimeFeatureStateChanged('timeline-profiler', false);
|
| + else if (method == 'resourceTrackingWasEnabled')
|
| + DevToolsAgentHost.runtimeFeatureStateChanged('resource-tracking', true);
|
| + else if (method == 'resourceTrackingWasDisabled')
|
| + DevToolsAgentHost.runtimeFeatureStateChanged('resource-tracking', false);
|
| +
|
| if (ApuAgentDispatcher.enabled) {
|
| ApuAgentDispatcher.dispatchToApu(method, args);
|
| return;
|
|
|