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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1
, Node** stopNode = 0); | 75 virtual bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1
, Node** stopNode = 0); |
76 virtual bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float
multiplier = 1, Node** stopNode = 0); | 76 virtual bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float
multiplier = 1, Node** stopNode = 0); |
77 | 77 |
78 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; | 78 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; |
79 virtual void computePreferredLogicalWidths() OVERRIDE; | 79 virtual void computePreferredLogicalWidths() OVERRIDE; |
80 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const; | 80 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const; |
81 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; | 81 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; |
82 | 82 |
83 virtual void layout(); | 83 virtual void layout(); |
84 | 84 |
| 85 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
| 86 |
85 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 87 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; |
86 | 88 |
87 virtual bool canBeProgramaticallyScrolled() const { return true; } | 89 virtual bool canBeProgramaticallyScrolled() const { return true; } |
88 virtual void autoscroll(const IntPoint&); | 90 virtual void autoscroll(const IntPoint&); |
89 virtual void stopAutoscroll(); | 91 virtual void stopAutoscroll(); |
90 | 92 |
91 virtual bool shouldPanScroll() const { return true; } | 93 virtual bool shouldPanScroll() const { return true; } |
92 virtual void panScroll(const IntPoint&); | 94 virtual void panScroll(const IntPoint&); |
93 | 95 |
94 virtual int verticalScrollbarWidth() const; | 96 virtual int verticalScrollbarWidth() const; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); | 165 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); |
164 return static_cast<RenderListBox*>(object); | 166 return static_cast<RenderListBox*>(object); |
165 } | 167 } |
166 | 168 |
167 // This will catch anyone doing an unnecessary cast. | 169 // This will catch anyone doing an unnecessary cast. |
168 void toRenderListBox(const RenderListBox*); | 170 void toRenderListBox(const RenderListBox*); |
169 | 171 |
170 } // namepace WebCore | 172 } // namepace WebCore |
171 | 173 |
172 #endif // RenderListBox_h | 174 #endif // RenderListBox_h |
OLD | NEW |