diff options
Diffstat (limited to 'WebCore/html/HTMLMenuElement.h')
-rw-r--r-- | WebCore/html/HTMLMenuElement.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/WebCore/html/HTMLMenuElement.h b/WebCore/html/HTMLMenuElement.h index 68b5b8f..7534e81 100644 --- a/WebCore/html/HTMLMenuElement.h +++ b/WebCore/html/HTMLMenuElement.h @@ -1,6 +1,7 @@ /* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) + * Copyright (C) 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -28,13 +29,16 @@ namespace WebCore { class HTMLMenuElement : public HTMLElement { public: + static PassRefPtr<HTMLMenuElement> create(const QualifiedName&, Document*); + + bool compact() const; + void setCompact(bool); + +private: HTMLMenuElement(const QualifiedName&, Document*); virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; } virtual int tagPriority() const { return 5; } - - bool compact() const; - void setCompact(bool); }; } //namespace |