| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual bool isDisabledFormControl() const override; | 62 virtual bool isDisabledFormControl() const override; |
| 63 | 63 |
| 64 String textIndentedToRespectGroupLabel() const; | 64 String textIndentedToRespectGroupLabel() const; |
| 65 | 65 |
| 66 void setSelectedState(bool); | 66 void setSelectedState(bool); |
| 67 | 67 |
| 68 HTMLFormElement* form() const; | 68 HTMLFormElement* form() const; |
| 69 bool spatialNavigationFocused() const; | 69 bool spatialNavigationFocused() const; |
| 70 | 70 |
| 71 bool isDisplayNone() const; | 71 bool isDisplayNone() const; |
| 72 | |
| 73 int listIndex() const; | |
| 74 | |
| 75 private: | 72 private: |
| 76 explicit HTMLOptionElement(Document&); | 73 explicit HTMLOptionElement(Document&); |
| 77 | 74 |
| 78 virtual bool rendererIsFocusable() const override { return true; } | 75 virtual bool rendererIsFocusable() const override { return true; } |
| 79 virtual void attach(const AttachContext& = AttachContext()) override; | 76 virtual void attach(const AttachContext& = AttachContext()) override; |
| 80 virtual void detach(const AttachContext& = AttachContext()) override; | 77 virtual void detach(const AttachContext& = AttachContext()) override; |
| 81 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 82 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 79 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 83 virtual void didNotifySubtreeInsertionsToDocument() override; | 80 virtual void didNotifySubtreeInsertionsToDocument() override; |
| 84 virtual void removedFrom(ContainerNode*) override; | 81 virtual void removedFrom(ContainerNode*) override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 97 void updateLabel(); | 94 void updateLabel(); |
| 98 | 95 |
| 99 bool m_disabled; | 96 bool m_disabled; |
| 100 bool m_isSelected; | 97 bool m_isSelected; |
| 101 RefPtr<RenderStyle> m_style; | 98 RefPtr<RenderStyle> m_style; |
| 102 }; | 99 }; |
| 103 | 100 |
| 104 } // namespace blink | 101 } // namespace blink |
| 105 | 102 |
| 106 #endif // HTMLOptionElement_h | 103 #endif // HTMLOptionElement_h |
| OLD | NEW |