Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLKeygenElement.h

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 */
23
24 #ifndef HTMLKeygenElement_h
25 #define HTMLKeygenElement_h
26
27 #include "core/html/HTMLFormControlElementWithState.h"
28
29 namespace blink {
30
31 class HTMLSelectElement;
32
33 class HTMLKeygenElement final : public HTMLFormControlElementWithState {
34 DEFINE_WRAPPERTYPEINFO();
35
36 public:
37 static HTMLKeygenElement* create(Document&);
38
39 bool willValidate() const override { return false; }
40
41 LayoutObject* createLayoutObject(const ComputedStyle&) override;
42
43 private:
44 explicit HTMLKeygenElement(Document&);
45
46 bool areAuthorShadowsAllowed() const override { return false; }
47
48 bool canStartSelection() const override { return false; }
49
50 void parseAttribute(const QualifiedName&,
51 const AtomicString&,
52 const AtomicString&) override;
53
54 void appendToFormData(FormData&) override;
55 const AtomicString& formControlType() const override;
56 bool isOptionalFormControl() const override { return false; }
57
58 bool isEnumeratable() const override { return true; }
59 bool isInteractiveContent() const override;
60 bool supportsAutofocus() const override;
61 bool supportLabels() const override { return true; }
62
63 void resetImpl() override;
64 bool shouldSaveAndRestoreFormControlState() const override { return false; }
65
66 void didAddUserAgentShadowRoot(ShadowRoot&) override;
67
68 HTMLSelectElement* shadowSelect() const;
69 };
70
71 } // namespace blink
72
73 #endif // HTMLKeygenElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/BUILD.gn ('k') | third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698