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

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: Addresses the changes asked in patch set 2 Created 6 years, 8 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 unsigned m_needsCompositedScrolling : 1; 238 unsigned m_needsCompositedScrolling : 1;
239 239
240 ForceNeedsCompositedScrollingMode m_forceNeedsCompositedScrolling; 240 ForceNeedsCompositedScrollingMode m_forceNeedsCompositedScrolling;
241 241
242 // The width/height of our scrolled area. 242 // The width/height of our scrolled area.
243 LayoutRect m_overflowRect; 243 LayoutRect m_overflowRect;
244 244
245 // This is the (scroll) offset from scrollOrigin(). 245 // This is the (scroll) offset from scrollOrigin().
246 IntSize m_scrollOffset; 246 IntSize m_scrollOffset;
247 247
248 // This is the minimum size for resizing.
249 LayoutSize m_minimumSizeForResizing;
250
248 IntPoint m_cachedOverlayScrollbarOffset; 251 IntPoint m_cachedOverlayScrollbarOffset;
249 252
250 // For areas with overflow, we have a pair of scrollbars. 253 // For areas with overflow, we have a pair of scrollbars.
251 RefPtr<Scrollbar> m_hBar; 254 RefPtr<Scrollbar> m_hBar;
252 RefPtr<Scrollbar> m_vBar; 255 RefPtr<Scrollbar> m_vBar;
253 256
254 // Renderers to hold our custom scroll corner. 257 // Renderers to hold our custom scroll corner.
255 RenderScrollbarPart* m_scrollCorner; 258 RenderScrollbarPart* m_scrollCorner;
256 259
257 // Renderers to hold our custom resizer. 260 // Renderers to hold our custom resizer.
258 RenderScrollbarPart* m_resizer; 261 RenderScrollbarPart* m_resizer;
259 }; 262 };
260 263
261 } // Namespace WebCore 264 } // Namespace WebCore
262 265
263 #endif // RenderLayerScrollableArea_h 266 #endif // RenderLayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698