/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* 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 "nsISelectionDisplay.idl" %{C++ typedef short SelectionRegion; namespace mozilla { namespace dom { class Selection; } // namespace dom } // namespace mozilla %} interface nsIContent; interface nsISelectionDisplay; webidl Node; webidl Selection; [builtinclass, scriptable, uuid(3801c9d4-8e69-4bfc-9edb-b58278621f8f)] interface nsISelectionController : nsISelectionDisplay { // Begin of RawSelectionType values. const short SELECTION_NONE = 0; // Corresponds to the Selection exposed via window.getSelection() and // document.getSelection(). const short SELECTION_NORMAL = 1; // Corresponds to the Selection used for spellchecking in