| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual PopupMenuStyle menuStyle() const = 0; | 47 virtual PopupMenuStyle menuStyle() const = 0; |
| 48 virtual LayoutUnit clientPaddingLeft() const = 0; | 48 virtual LayoutUnit clientPaddingLeft() const = 0; |
| 49 virtual LayoutUnit clientPaddingRight() const = 0; | 49 virtual LayoutUnit clientPaddingRight() const = 0; |
| 50 virtual int listSize() const = 0; | 50 virtual int listSize() const = 0; |
| 51 virtual int selectedIndex() const = 0; | 51 virtual int selectedIndex() const = 0; |
| 52 virtual void popupDidHide() = 0; | 52 virtual void popupDidHide() = 0; |
| 53 virtual bool itemIsSeparator(unsigned listIndex) const = 0; | 53 virtual bool itemIsSeparator(unsigned listIndex) const = 0; |
| 54 virtual bool itemIsLabel(unsigned listIndex) const = 0; | 54 virtual bool itemIsLabel(unsigned listIndex) const = 0; |
| 55 virtual bool itemIsSelected(unsigned listIndex) const = 0; | 55 virtual bool itemIsSelected(unsigned listIndex) const = 0; |
| 56 virtual void setTextFromItem(unsigned listIndex) = 0; | 56 virtual void setTextFromItem(unsigned listIndex) = 0; |
| 57 virtual IntRect elementRectRelativeToRootView() const = 0; | 57 virtual IntRect elementRectRelativeToViewport() const = 0; |
| 58 virtual Element& ownerElement() const = 0; | 58 virtual Element& ownerElement() const = 0; |
| 59 virtual const LayoutStyle* layoutStyleForItem(Element&) const = 0; | 59 virtual const LayoutStyle* layoutStyleForItem(Element&) const = 0; |
| 60 | 60 |
| 61 virtual void listBoxSelectItem(int /*listIndex*/, bool /*allowMultiplySelect
ions*/, bool /*shift*/, bool /*fireOnChangeNow*/ = true) { ASSERT_NOT_REACHED();
} | 61 virtual void listBoxSelectItem(int /*listIndex*/, bool /*allowMultiplySelect
ions*/, bool /*shift*/, bool /*fireOnChangeNow*/ = true) { ASSERT_NOT_REACHED();
} |
| 62 virtual bool multiple() const | 62 virtual bool multiple() const |
| 63 { | 63 { |
| 64 ASSERT_NOT_REACHED(); | 64 ASSERT_NOT_REACHED(); |
| 65 return false; | 65 return false; |
| 66 } | 66 } |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } | 69 } |
| 70 | 70 |
| 71 #endif | 71 #endif |
| OLD | NEW |