/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 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 mozilla_TextControlState_h #define mozilla_TextControlState_h #include "mozilla/Assertions.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/TextEditor.h" #include "mozilla/WeakPtr.h" #include "mozilla/dom/HTMLInputElementBinding.h" #include "mozilla/dom/Nullable.h" class nsTextControlFrame; class nsISelectionController; class nsFrameSelection; class nsITextControlElement; class nsFrame; namespace mozilla { class AutoTextControlHandlingState; class ErrorResult; class TextInputListener; class TextInputSelectionController; namespace dom { class HTMLInputElement; } // namespace dom /** * TextControlState is a class which is responsible for managing the state of * plaintext controls. This currently includes the following HTML elements: * * * * * * *