Bug 1540043 - part 3: Remove `nsIPlaintextEditor` interface r=m_kato

Differential Revision: https://phabricator.services.mozilla.com/D61350

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Masayuki Nakano 2020-02-01 04:38:13 +00:00
Родитель 70e2feaa5a
Коммит 9eca50461b
4 изменённых файлов: 1 добавлений и 15 удалений

Просмотреть файл

@ -216,7 +216,6 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(EditorBase)
NS_INTERFACE_MAP_ENTRY(nsISelectionListener) NS_INTERFACE_MAP_ENTRY(nsISelectionListener)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference) NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsIEditor) NS_INTERFACE_MAP_ENTRY(nsIEditor)
NS_INTERFACE_MAP_ENTRY(nsIPlaintextEditor)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIEditor) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIEditor)
NS_INTERFACE_MAP_END NS_INTERFACE_MAP_END

Просмотреть файл

@ -28,7 +28,6 @@
#include "mozilla/dom/Document.h" #include "mozilla/dom/Document.h"
#include "nsIContentInlines.h" // for nsINode::IsEditable() #include "nsIContentInlines.h" // for nsINode::IsEditable()
#include "nsIEditor.h" // for nsIEditor, etc. #include "nsIEditor.h" // for nsIEditor, etc.
#include "nsIPlaintextEditor.h" // for nsIPlaintextEditor, etc.
#include "nsISelectionController.h" // for nsISelectionController constants #include "nsISelectionController.h" // for nsISelectionController constants
#include "nsISelectionListener.h" // for nsISelectionListener #include "nsISelectionListener.h" // for nsISelectionListener
#include "nsISupportsImpl.h" // for EditorBase::Release, etc. #include "nsISupportsImpl.h" // for EditorBase::Release, etc.
@ -135,7 +134,7 @@ enum class SplitAtEdges {
* delegate the actual commands to the editor independent of the XPFE * delegate the actual commands to the editor independent of the XPFE
* implementation. * implementation.
*/ */
class EditorBase : public nsIPlaintextEditor, class EditorBase : public nsIEditor,
public nsISelectionListener, public nsISelectionListener,
public nsSupportsWeakReference { public nsSupportsWeakReference {
public: public:

Просмотреть файл

@ -23,7 +23,6 @@ XPIDL_SOURCES += [
'nsIHTMLEditor.idl', 'nsIHTMLEditor.idl',
'nsIHTMLInlineTableEditor.idl', 'nsIHTMLInlineTableEditor.idl',
'nsIHTMLObjectResizer.idl', 'nsIHTMLObjectResizer.idl',
'nsIPlaintextEditor.idl',
'nsITableEditor.idl', 'nsITableEditor.idl',
] ]

Просмотреть файл

@ -1,11 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 "nsIEditor.idl"
[scriptable, builtinclass, uuid(b74fb158-1265-4102-91eb-edd0136b49f8)]
interface nsIPlaintextEditor : nsIEditor
{
};