| Index: Source/WebCore/html/HTMLOptGroupElement.h
|
| diff --git a/Source/WebCore/html/HTMLOptGroupElement.h b/Source/WebCore/html/HTMLOptGroupElement.h
|
| index fe181f7c522d15f29f08a49d8a9314c05add24d2..c1113570cb1e1160c309f1350b2e298e248a0c8a 100644
|
| --- a/Source/WebCore/html/HTMLOptGroupElement.h
|
| +++ b/Source/WebCore/html/HTMLOptGroupElement.h
|
| @@ -28,6 +28,7 @@
|
|
|
| namespace WebCore {
|
|
|
| +class HTMLDivElement;
|
| class HTMLSelectElement;
|
|
|
| class HTMLOptGroupElement : public HTMLElement {
|
| @@ -46,24 +47,20 @@ private:
|
| virtual bool supportsFocus() const;
|
| virtual bool isFocusable() const;
|
| virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
|
| - virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
|
| - virtual void attach();
|
| - virtual void detach();
|
| + virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE;
|
|
|
| virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
|
|
|
| virtual void accessKeyAction(bool sendMouseEvents);
|
|
|
| - // <optgroup> never has a renderer so we manually manage a cached style.
|
| - void updateNonRenderStyle();
|
| - virtual RenderStyle* nonRendererStyle() const OVERRIDE;
|
| - virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
|
| -
|
| void recalcSelectOptions();
|
| + void updateGroupLabel();
|
|
|
| - RefPtr<RenderStyle> m_style;
|
| + HTMLDivElement* m_groupLabelElement;
|
| };
|
|
|
| +HTMLOptGroupElement* toHTMLOptGroupElement(Node*);
|
| +
|
| } //namespace
|
|
|
| #endif
|
|
|