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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 1651703002: More explicit LayoutUnit conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@evenMoarConstructors
Patch Set: Traits vs Properties vs Pandas Created 4 years, 10 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 bool hasScrollableVerticalOverflow() const; 344 bool hasScrollableVerticalOverflow() const;
345 bool visualViewportSuppliesScrollbars() const; 345 bool visualViewportSuppliesScrollbars() const;
346 346
347 bool needsScrollbarReconstruction() const; 347 bool needsScrollbarReconstruction() const;
348 348
349 void computeScrollDimensions(); 349 void computeScrollDimensions();
350 350
351 void setScrollOffset(const IntPoint&, ScrollType) override; 351 void setScrollOffset(const IntPoint&, ScrollType) override;
352 void setScrollOffset(const DoublePoint&, ScrollType) override; 352 void setScrollOffset(const DoublePoint&, ScrollType) override;
353 353
354 LayoutUnit verticalScrollbarStart(int minX, int maxX) const; 354 int verticalScrollbarStart(int minX, int maxX) const;
355 LayoutUnit horizontalScrollbarStart(int minX) const; 355 int horizontalScrollbarStart(int minX) const;
356 IntSize scrollbarOffset(const Scrollbar&) const; 356 IntSize scrollbarOffset(const Scrollbar&) const;
357 357
358 void setHasHorizontalScrollbar(bool hasScrollbar); 358 void setHasHorizontalScrollbar(bool hasScrollbar);
359 void setHasVerticalScrollbar(bool hasScrollbar); 359 void setHasVerticalScrollbar(bool hasScrollbar);
360 360
361 void updateScrollCornerStyle(); 361 void updateScrollCornerStyle();
362 362
363 // See comments on isPointInResizeControl. 363 // See comments on isPointInResizeControl.
364 void updateResizerAreaSet(); 364 void updateResizerAreaSet();
365 void updateResizerStyle(); 365 void updateResizerStyle();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 LayoutScrollbarPart* m_resizer; 408 LayoutScrollbarPart* m_resizer;
409 409
410 #if ENABLE(ASSERT) 410 #if ENABLE(ASSERT)
411 bool m_hasBeenDisposed; 411 bool m_hasBeenDisposed;
412 #endif 412 #endif
413 }; 413 };
414 414
415 } // namespace blink 415 } // namespace blink
416 416
417 #endif // LayerScrollableArea_h 417 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698