gecko/dom/interfaces/base/nsITabParent.idl
Mike Conley 069e475e83 Bug 863515 - Expose hasContentOpener on nsITabParent. r=smaug.
hasContentOpener is set to true if a tab happened to be opened
due to content requesting it - for example, a target="_blank" link,
or a window.open.
2015-05-13 16:44:39 -04:00

32 lines
1.2 KiB
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "domstubs.idl"
[scriptable, uuid(4d4576eb-ecfe-47b9-93b8-4121518621ad)]
interface nsITabParent : nsISupports
{
void injectTouchEvent(in AString aType,
[array, size_is(count)] in uint32_t aIdentifiers,
[array, size_is(count)] in int32_t aXs,
[array, size_is(count)] in int32_t aYs,
[array, size_is(count)] in uint32_t aRxs,
[array, size_is(count)] in uint32_t aRys,
[array, size_is(count)] in float aRotationAngles,
[array, size_is(count)] in float aForces,
in uint32_t count,
in long aModifiers);
void getChildProcessOffset(out int32_t aCssX, out int32_t aCssY);
readonly attribute boolean useAsyncPanZoom;
void setIsDocShellActive(in bool aIsActive);
readonly attribute uint64_t tabId;
readonly attribute boolean hasContentOpener;
};