"Fossies" - the Fresh Open Source Software Archive

Member "firefox-69.0.1/docshell/base/nsIContentViewerEdit.idl" (17 Sep 2019, 1111 Bytes) of package /linux/www/firefox-69.0.1.source.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) IDL source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "nsIContentViewerEdit.idl": 60.7.2_vs_68.0.

    1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
    2  *
    3  * This Source Code Form is subject to the terms of the Mozilla Public
    4  * License, v. 2.0. If a copy of the MPL was not distributed with this
    5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    6 
    7 #include "nsISupports.idl"
    8 
    9 webidl Node;
   10 
   11 [scriptable, uuid(35BE2D7E-F29B-48EC-BF7E-80A30A724DE3)]
   12 interface nsIContentViewerEdit : nsISupports
   13 {
   14     void clearSelection();
   15     void selectAll();
   16 
   17     void copySelection();
   18     readonly attribute boolean copyable;
   19 
   20     void copyLinkLocation();
   21     readonly attribute boolean inLink;
   22 
   23     const long COPY_IMAGE_TEXT = 0x0001;
   24     const long COPY_IMAGE_HTML = 0x0002;
   25     const long COPY_IMAGE_DATA = 0x0004;
   26     const long COPY_IMAGE_ALL = -1;
   27     void copyImage(in long aCopyFlags);
   28     readonly attribute boolean inImage;
   29 
   30     AString getContents(in string aMimeType, in boolean aSelectionOnly);
   31     readonly attribute boolean canGetContents;
   32 
   33     // Set the node that will be the subject of the editing commands above.
   34     // Usually this will be the node that was context-clicked.
   35     void setCommandNode(in Node aNode);
   36 };