Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * This file is part of the select element renderer in WebCore. | 2 * This file is part of the select element renderer in WebCore. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 void paintItemBackground(PaintInfo&, const LayoutPoint&, int listIndex); | 147 void paintItemBackground(PaintInfo&, const LayoutPoint&, int listIndex); |
| 148 void scrollToRevealSelection(); | 148 void scrollToRevealSelection(); |
| 149 | 149 |
| 150 bool m_optionsChanged; | 150 bool m_optionsChanged; |
| 151 bool m_scrollToRevealSelectionAfterLayout; | 151 bool m_scrollToRevealSelectionAfterLayout; |
| 152 bool m_inAutoscroll; | 152 bool m_inAutoscroll; |
| 153 int m_optionsWidth; | 153 int m_optionsWidth; |
| 154 int m_indexOffset; | 154 int m_indexOffset; |
| 155 | 155 |
| 156 RefPtr<Scrollbar> m_vBar; | 156 RefPtr<Scrollbar> m_vBar; |
| 157 Vector<int> m_listItemIndex; | |
|
esprehn
2014/03/21 20:43:39
It seems unfortunate to keep this Vector the size
spartha
2014/03/21 21:29:03
Yeah, totally agree. The only reason I want to use
| |
| 157 }; | 158 }; |
| 158 | 159 |
| 159 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); | 160 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); |
| 160 | 161 |
| 161 } // namepace WebCore | 162 } // namepace WebCore |
| 162 | 163 |
| 163 #endif // RenderListBox_h | 164 #endif // RenderListBox_h |
| OLD | NEW |