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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. |
6 * Copyright (C) 2010 Google Inc. All rights reserved. | 6 * Copyright (C) 2010 Google Inc. All rights reserved. |
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual bool isFocusable() const; | 76 virtual bool isFocusable() const; |
77 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } | 77 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } |
78 virtual void attach(); | 78 virtual void attach(); |
79 virtual void detach(); | 79 virtual void detach(); |
80 | 80 |
81 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 81 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
82 | 82 |
83 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 83 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
84 virtual void accessKeyAction(bool); | 84 virtual void accessKeyAction(bool); |
85 | 85 |
86 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 86 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
87 | 87 |
88 // <option> never has a renderer so we manually manage a cached style. | 88 // <option> never has a renderer so we manually manage a cached style. |
89 void updateNonRenderStyle(); | 89 void updateNonRenderStyle(); |
90 virtual RenderStyle* nonRendererStyle() const OVERRIDE; | 90 virtual RenderStyle* nonRendererStyle() const OVERRIDE; |
91 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; | 91 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; |
92 | 92 |
93 void didRecalcStyle(StyleChange) OVERRIDE; | 93 void didRecalcStyle(StyleChange) OVERRIDE; |
94 | 94 |
95 String collectOptionInnerText() const; | 95 String collectOptionInnerText() const; |
96 | 96 |
(...skipping 23 matching lines...) Expand all Loading... |
120 inline Result<HTMLOptionElement> toHTMLOptionElement(const Handle<Node>& node) | 120 inline Result<HTMLOptionElement> toHTMLOptionElement(const Handle<Node>& node) |
121 { | 121 { |
122 return Handle<HTMLOptionElement>::cast(node); | 122 return Handle<HTMLOptionElement>::cast(node); |
123 } | 123 } |
124 | 124 |
125 #endif | 125 #endif |
126 | 126 |
127 } // namespace | 127 } // namespace |
128 | 128 |
129 #endif | 129 #endif |
OLD | NEW |