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

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

Issue 239983004: Textarea resize-able only to larger; min-height and min-width properly set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and added shouldBeEqualToString() instead of shouldBe() in LayoutTest Created 6 years, 7 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 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 LayoutUnit horizontalScrollbarStart(int minX) const; 205 LayoutUnit horizontalScrollbarStart(int minX) const;
206 IntSize scrollbarOffset(const Scrollbar*) const; 206 IntSize scrollbarOffset(const Scrollbar*) const;
207 207
208 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); 208 PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation);
209 void destroyScrollbar(ScrollbarOrientation); 209 void destroyScrollbar(ScrollbarOrientation);
210 210
211 void setHasHorizontalScrollbar(bool hasScrollbar); 211 void setHasHorizontalScrollbar(bool hasScrollbar);
212 void setHasVerticalScrollbar(bool hasScrollbar); 212 void setHasVerticalScrollbar(bool hasScrollbar);
213 213
214 void updateScrollCornerStyle(); 214 void updateScrollCornerStyle();
215 IntSize minimumSizeForResizing();
215 216
216 // See comments on isPointInResizeControl. 217 // See comments on isPointInResizeControl.
217 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; 218 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const;
218 bool overflowControlsIntersectRect(const IntRect& localRect) const; 219 bool overflowControlsIntersectRect(const IntRect& localRect) const;
219 void updateResizerAreaSet(); 220 void updateResizerAreaSet();
220 void updateResizerStyle(); 221 void updateResizerStyle();
221 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); 222 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect);
222 223
223 RenderBox& box() const; 224 RenderBox& box() const;
224 RenderLayer* layer() const; 225 RenderLayer* layer() const;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // Renderers to hold our custom scroll corner. 260 // Renderers to hold our custom scroll corner.
260 RenderScrollbarPart* m_scrollCorner; 261 RenderScrollbarPart* m_scrollCorner;
261 262
262 // Renderers to hold our custom resizer. 263 // Renderers to hold our custom resizer.
263 RenderScrollbarPart* m_resizer; 264 RenderScrollbarPart* m_resizer;
264 }; 265 };
265 266
266 } // Namespace WebCore 267 } // Namespace WebCore
267 268
268 #endif // RenderLayerScrollableArea_h 269 #endif // RenderLayerScrollableArea_h
OLDNEW
« no previous file with comments | « Source/core/dom/ElementRareData.cpp ('k') | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698