/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 ts=2 et tw=80: */ /* 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 "nsAutoPtr.h" #include "nsString.h" #include "nsITextControlElement.h" #include "nsITextControlFrame.h" #include "nsCycleCollectionParticipant.h" #include "mozilla/dom/Element.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; } } /** * nsTextEditorState is a class which is responsible for managing the state of * plaintext controls. This currently includes the following HTML elements: * * *