mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
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:
parent
70e2feaa5a
commit
9eca50461b
@ -216,7 +216,6 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(EditorBase)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISelectionListener)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIEditor)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIPlaintextEditor)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIEditor)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "nsIContentInlines.h" // for nsINode::IsEditable()
|
||||
#include "nsIEditor.h" // for nsIEditor, etc.
|
||||
#include "nsIPlaintextEditor.h" // for nsIPlaintextEditor, etc.
|
||||
#include "nsISelectionController.h" // for nsISelectionController constants
|
||||
#include "nsISelectionListener.h" // for nsISelectionListener
|
||||
#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
|
||||
* implementation.
|
||||
*/
|
||||
class EditorBase : public nsIPlaintextEditor,
|
||||
class EditorBase : public nsIEditor,
|
||||
public nsISelectionListener,
|
||||
public nsSupportsWeakReference {
|
||||
public:
|
||||
|
@ -23,7 +23,6 @@ XPIDL_SOURCES += [
|
||||
'nsIHTMLEditor.idl',
|
||||
'nsIHTMLInlineTableEditor.idl',
|
||||
'nsIHTMLObjectResizer.idl',
|
||||
'nsIPlaintextEditor.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
|
||||
{
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user