Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: Source/WebCore/rendering/RenderListBox.h

Issue 12545020: Revert 145087 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderLineBoxList.cpp ('k') | Source/WebCore/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698