/* -*- Mode: C++; tab-width: 8; 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/. */ #ifndef nsTextEditorState_h__ #define nsTextEditorState_h__ #include "nsString.h" #include "nsITextControlElement.h" #include "nsITextControlFrame.h" #include "nsCycleCollectionParticipant.h" #include "mozilla/dom/Element.h" #include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/WeakPtr.h" class nsTextInputListener; class nsTextControlFrame; class nsTextInputSelectionImpl; class nsAnonDivObserver; class nsISelectionController; class nsFrameSelection; class nsIEditor; class nsITextControlElement; class nsFrame; namespace mozilla { namespace dom { class HTMLInputElement; } // namespace dom } // namespace mozilla /** * nsTextEditorState is a class which is responsible for managing the state of * plaintext controls. This currently includes the following HTML elements: * * *