import { ContextMenuClipboardItems } from "./ContextMenuClipboardItems"; import { ASArray } from "../../avm2/nat/ASArray"; import { URLRequest } from "../net/URLRequest"; import { ContextMenuBuiltInItems } from "./ContextMenuBuiltInItems"; import { NativeMenu } from "../display/NativeMenu"; /** * Copyright 2014 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export declare class ContextMenu extends NativeMenu { static classInitializer: any; constructor(); static get isSupported(): boolean; _builtInItems: ContextMenuBuiltInItems; _customItems: any[]; _link: URLRequest; _clipboardMenu: boolean; _clipboardItems: ContextMenuClipboardItems; get builtInItems(): ContextMenuBuiltInItems; set builtInItems(value: ContextMenuBuiltInItems); get customItems(): ASArray; set customItems(value: ASArray); get link(): URLRequest; set link(value: URLRequest); get clipboardMenu(): boolean; set clipboardMenu(value: boolean); get clipboardItems(): ContextMenuClipboardItems; set clipboardItems(value: ContextMenuClipboardItems); hideBuiltInItems(): void; clone(): ContextMenu; cloneLinkAndClipboardProperties(c: ContextMenu): void; }