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

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

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address reviewer comments Created 7 years, 4 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 | Annotate | Revision Log
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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698