1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 // ParamTraits stuff for nsIRemoteTab::NavigationType
9 include "mozilla/dom/TabMessageUtils.h";
10 using nsIRemoteTab::NavigationType from "nsIRemoteTab.h";
12 using base::ProcessId from "base/process.h";
13 using mozilla::dom::TabId from "mozilla/dom/ipc/IdType.h";
14 using nsIThread::QoSPriority from "nsIThread.h";
26 [ChildImpl=virtual, ParentImpl=virtual, ChildProc=Content]
27 protocol PProcessHangMonitor
30 async HangEvidence(SlowScriptData data);
34 async TerminateScript();
35 async RequestContentJSInterrupt();
37 async BeginStartingDebugger();
38 async EndStartingDebugger();
40 async PaintWhileInterruptingJS(TabId tabId);
41 async UnloadLayersWhileInterruptingJS(TabId tabId);
43 async CancelContentJSExecutionIfRunning(
44 TabId tabId, NavigationType aNavigationType,
45 int32_t aNavigationIndex, nsCString? aNavigationURI, int32_t aEpoch);
48 async SetMainThreadQoSPriority(QoSPriority qosPriority);
52 } // namespace mozilla