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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 enum Type { SUBMIT, RESET, BUTTON }; 46 enum Type { SUBMIT, RESET, BUTTON };
47 47
48 const AtomicString& formControlType() const override; 48 const AtomicString& formControlType() const override;
49 49
50 LayoutObject* createLayoutObject(const ComputedStyle&) override; 50 LayoutObject* createLayoutObject(const ComputedStyle&) override;
51 51
52 // HTMLFormControlElement always creates one, but buttons don't need it. 52 // HTMLFormControlElement always creates one, but buttons don't need it.
53 bool alwaysCreateUserAgentShadowRoot() const override { return false; } 53 bool alwaysCreateUserAgentShadowRoot() const override { return false; }
54 54
55 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; 55 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override;
56 void parseAttribute(const QualifiedName&, 56 void parseAttribute(const AttributeModificationParams&) override;
57 const AtomicString&,
58 const AtomicString&) override;
59 bool isPresentationAttribute(const QualifiedName&) const override; 57 bool isPresentationAttribute(const QualifiedName&) const override;
60 void defaultEventHandler(Event*) override; 58 void defaultEventHandler(Event*) override;
61 59
62 void appendToFormData(FormData&) override; 60 void appendToFormData(FormData&) override;
63 61
64 bool isEnumeratable() const override { return true; } 62 bool isEnumeratable() const override { return true; }
65 bool supportLabels() const override { return true; } 63 bool supportLabels() const override { return true; }
66 bool isInteractiveContent() const override; 64 bool isInteractiveContent() const override;
67 bool supportsAutofocus() const override; 65 bool supportsAutofocus() const override;
68 bool matchesDefaultPseudoClass() const override; 66 bool matchesDefaultPseudoClass() const override;
(...skipping 10 matching lines...) Expand all
79 bool isOptionalFormControl() const override { return true; } 77 bool isOptionalFormControl() const override { return true; }
80 bool recalcWillValidate() const override; 78 bool recalcWillValidate() const override;
81 79
82 Type m_type; 80 Type m_type;
83 bool m_isActivatedSubmit; 81 bool m_isActivatedSubmit;
84 }; 82 };
85 83
86 } // namespace blink 84 } // namespace blink
87 85
88 #endif // HTMLButtonElement_h 86 #endif // HTMLButtonElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBodyElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698