| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 63 | 63 | 
| 64     String textIndentedToRespectGroupLabel() const; | 64     String textIndentedToRespectGroupLabel() const; | 
| 65 | 65 | 
| 66     void setSelectedState(bool); | 66     void setSelectedState(bool); | 
| 67 | 67 | 
| 68 private: | 68 private: | 
| 69     HTMLOptionElement(const QualifiedName&, Document&); | 69     HTMLOptionElement(const QualifiedName&, Document&); | 
| 70 | 70 | 
| 71     virtual bool rendererIsFocusable() const OVERRIDE; | 71     virtual bool rendererIsFocusable() const OVERRIDE; | 
| 72     virtual bool rendererIsNeeded(const RenderStyle&) { return false; } | 72     virtual bool rendererIsNeeded(const RenderStyle&) { return false; } | 
| 73     virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 73     virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI
     DE; | 
| 74     virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 74     virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR
     IDE; | 
| 75 | 75 | 
| 76     virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
     IDE; | 76     virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
     IDE; | 
| 77 | 77 | 
| 78     virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 78     virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 
| 79     virtual void accessKeyAction(bool); | 79     virtual void accessKeyAction(bool); | 
| 80 | 80 | 
| 81     virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
     e = 0, Node* afterChange = 0, int childCountDelta = 0); | 81     virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
     e = 0, Node* afterChange = 0, int childCountDelta = 0); | 
| 82 | 82 | 
| 83     // <option> never has a renderer so we manually manage a cached style. | 83     // <option> never has a renderer so we manually manage a cached style. | 
| 84     void updateNonRenderStyle(); | 84     void updateNonRenderStyle(); | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 104 | 104 | 
| 105 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node) | 105 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node) | 
| 106 { | 106 { | 
| 107     ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::option
     Tag)); | 107     ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::option
     Tag)); | 
| 108     return static_cast<const HTMLOptionElement*>(node); | 108     return static_cast<const HTMLOptionElement*>(node); | 
| 109 } | 109 } | 
| 110 | 110 | 
| 111 } // namespace WebCore | 111 } // namespace WebCore | 
| 112 | 112 | 
| 113 #endif | 113 #endif | 
| OLD | NEW | 
|---|