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

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

Issue 1826013002: Enable compositing for opaque scrolling content on low DPI screens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix date (for real this time) Created 4 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
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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 465
466 void setHasHorizontalScrollbar(bool hasScrollbar); 466 void setHasHorizontalScrollbar(bool hasScrollbar);
467 void setHasVerticalScrollbar(bool hasScrollbar); 467 void setHasVerticalScrollbar(bool hasScrollbar);
468 468
469 void updateScrollCornerStyle(); 469 void updateScrollCornerStyle();
470 470
471 // See comments on isPointInResizeControl. 471 // See comments on isPointInResizeControl.
472 void updateResizerAreaSet(); 472 void updateResizerAreaSet();
473 void updateResizerStyle(); 473 void updateResizerStyle();
474 474
475
476 void updateScrollableAreaSet(bool hasOverflow); 475 void updateScrollableAreaSet(bool hasOverflow);
477 476
478 void updateCompositingLayersAfterScroll(); 477 void updateCompositingLayersAfterScroll();
479 478
480 PaintLayerScrollableAreaRareData* rareData() 479 PaintLayerScrollableAreaRareData* rareData()
481 { 480 {
482 return m_rareData.get(); 481 return m_rareData.get();
483 } 482 }
484 483
485 PaintLayerScrollableAreaRareData& ensureRareData() 484 PaintLayerScrollableAreaRareData& ensureRareData()
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 #endif 543 #endif
545 }; 544 };
546 545
547 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, 546 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea,
548 scrollableArea->isPaintLayerScrollableArea(), 547 scrollableArea->isPaintLayerScrollableArea(),
549 scrollableArea.isPaintLayerScrollableArea()); 548 scrollableArea.isPaintLayerScrollableArea());
550 549
551 } // namespace blink 550 } // namespace blink
552 551
553 #endif // LayerScrollableArea_h 552 #endif // LayerScrollableArea_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698