diff options
Diffstat (limited to 'WebCore/html/HTMLOptionsCollection.h')
-rw-r--r-- | WebCore/html/HTMLOptionsCollection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/html/HTMLOptionsCollection.h b/WebCore/html/HTMLOptionsCollection.h index 9fb5bbf..a82749b 100644 --- a/WebCore/html/HTMLOptionsCollection.h +++ b/WebCore/html/HTMLOptionsCollection.h @@ -2,7 +2,7 @@ * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Dirk Mueller (mueller@kde.org) - * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 @@ -35,7 +35,7 @@ typedef int ExceptionCode; class HTMLOptionsCollection : public HTMLCollection { public: - HTMLOptionsCollection(PassRefPtr<HTMLSelectElement>); + static PassRefPtr<HTMLOptionsCollection> create(PassRefPtr<HTMLSelectElement>); void add(PassRefPtr<HTMLOptionElement>, ExceptionCode&); void add(PassRefPtr<HTMLOptionElement>, int index, ExceptionCode&); @@ -45,6 +45,9 @@ public: void setSelectedIndex(int); void setLength(unsigned, ExceptionCode&); + +private: + HTMLOptionsCollection(PassRefPtr<HTMLSelectElement>); }; } //namespace |