OLD | NEW |
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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "Text.h" | 36 #include "Text.h" |
37 #include "core/platform/SSLKeyGenerator.h" | 37 #include "core/platform/SSLKeyGenerator.h" |
38 #include <wtf/StdLibExtras.h> | 38 #include <wtf/StdLibExtras.h> |
39 | 39 |
40 using namespace WebCore; | 40 using namespace WebCore; |
41 | 41 |
42 namespace WebCore { | 42 namespace WebCore { |
43 | 43 |
44 using namespace HTMLNames; | 44 using namespace HTMLNames; |
45 | 45 |
46 class KeygenSelectElement : public HTMLSelectElement { | 46 class KeygenSelectElement FINAL : public HTMLSelectElement { |
47 public: | 47 public: |
48 static PassRefPtr<KeygenSelectElement> create(Document* document) | 48 static PassRefPtr<KeygenSelectElement> create(Document* document) |
49 { | 49 { |
50 return adoptRef(new KeygenSelectElement(document)); | 50 return adoptRef(new KeygenSelectElement(document)); |
51 } | 51 } |
52 | 52 |
53 protected: | 53 protected: |
54 KeygenSelectElement(Document* document) | 54 KeygenSelectElement(Document* document) |
55 : HTMLSelectElement(selectTag, document, 0) | 55 : HTMLSelectElement(selectTag, document, 0) |
56 { | 56 { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 return false; | 128 return false; |
129 } | 129 } |
130 | 130 |
131 HTMLSelectElement* HTMLKeygenElement::shadowSelect() const | 131 HTMLSelectElement* HTMLKeygenElement::shadowSelect() const |
132 { | 132 { |
133 ShadowRoot* root = userAgentShadowRoot(); | 133 ShadowRoot* root = userAgentShadowRoot(); |
134 return root ? toHTMLSelectElement(root->firstChild()) : 0; | 134 return root ? toHTMLSelectElement(root->firstChild()) : 0; |
135 } | 135 } |
136 | 136 |
137 } // namespace | 137 } // namespace |
OLD | NEW |