From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- dom/html/TextControlState.h | 499 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 499 insertions(+) create mode 100644 dom/html/TextControlState.h (limited to 'dom/html/TextControlState.h') diff --git a/dom/html/TextControlState.h b/dom/html/TextControlState.h new file mode 100644 index 0000000000..da6c299613 --- /dev/null +++ b/dom/html/TextControlState.h @@ -0,0 +1,499 @@ +/* -*- 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 "mozilla/Attributes.h" +#include "mozilla/EnumSet.h" +#include "mozilla/Maybe.h" +#include "mozilla/TextControlElement.h" +#include "mozilla/TextEditor.h" +#include "mozilla/WeakPtr.h" +#include "mozilla/dom/HTMLInputElementBinding.h" +#include "mozilla/dom/Nullable.h" +#include "nsCycleCollectionParticipant.h" +#include "nsITextControlFrame.h" + +class nsTextControlFrame; +class nsISelectionController; +class nsFrameSelection; +class nsFrame; + +namespace mozilla { + +class AutoTextControlHandlingState; +class ErrorResult; +class TextInputListener; +class TextInputSelectionController; + +namespace dom { +class Element; +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: + * + * + * + * + * + * + *