| 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 void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 85 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); |
| 86 | 86 |
| 87 virtual bool canBeProgramaticallyScrolled() const { return true; } | 87 virtual bool canBeProgramaticallyScrolled() const { return true; } |
| 88 virtual void autoscroll(const IntPoint&); | 88 virtual void autoscroll(const IntPoint&); |
| 89 virtual void stopAutoscroll(); | 89 virtual void stopAutoscroll(); |
| 90 | 90 |
| 91 virtual bool shouldPanScroll() const { return true; } | 91 virtual bool shouldPanScroll() const { return true; } |
| 92 virtual void panScroll(const IntPoint&); | 92 virtual void panScroll(const IntPoint&); |
| 93 | 93 |
| 94 virtual int verticalScrollbarWidth() const; | 94 virtual int verticalScrollbarWidth() const; |
| 95 virtual int scrollLeft() const; | 95 virtual int scrollLeft() const; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); | 156 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); |
| 157 return static_cast<RenderListBox*>(object); | 157 return static_cast<RenderListBox*>(object); |
| 158 } | 158 } |
| 159 | 159 |
| 160 // This will catch anyone doing an unnecessary cast. | 160 // This will catch anyone doing an unnecessary cast. |
| 161 void toRenderListBox(const RenderListBox*); | 161 void toRenderListBox(const RenderListBox*); |
| 162 | 162 |
| 163 } // namepace WebCore | 163 } // namepace WebCore |
| 164 | 164 |
| 165 #endif // RenderListBox_h | 165 #endif // RenderListBox_h |
| OLD | NEW |