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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMenuItemElement.h

Issue 2841473002: Implement HTMLMenuItemElement.label (Closed)
Patch Set: Reflect review comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
index 3ef68aad4cf8af50ad14d29b70c9e05179473b68..9a8e598e00582d6d24a333c3f727adbc727dddc5 100644
--- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h
@@ -15,6 +15,13 @@ class HTMLMenuItemElement final : public HTMLElement {
public:
DECLARE_NODE_FACTORY(HTMLMenuItemElement);
+ // https://html.spec.whatwg.org/multipage/forms.html#dom-menuitem-label
+ String label() const;
+ void setLabel(const AtomicString&);
+
+ // https://html.spec.whatwg.org/multipage/forms.html#concept-menuitem-label
+ String conceptualLabel() const;
+
private:
explicit HTMLMenuItemElement(Document&);
bool IsURLAttribute(const Attribute&) const override;

Powered by Google App Engine
This is Rietveld 408576698