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

Side by Side Diff: Source/core/frame/FrameView.h

Issue 714083003: Revert "Move some scroll invalidations to the paint invalidation phase" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 644
645 void setLayoutSizeInternal(const IntSize&); 645 void setLayoutSizeInternal(const IntSize&);
646 646
647 void disposeAutoSizeInfo(); 647 void disposeAutoSizeInfo();
648 648
649 bool paintInvalidationIsAllowed() const 649 bool paintInvalidationIsAllowed() const
650 { 650 {
651 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout(); 651 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout();
652 } 652 }
653 653
654 void updateFixedElementPaintInvalidationRectsAfterScroll();
655
654 bool adjustScrollbarExistence(ComputeScrollbarExistenceOption = FirstPass); 656 bool adjustScrollbarExistence(ComputeScrollbarExistenceOption = FirstPass);
655 void adjustScrollbarOpacity(); 657 void adjustScrollbarOpacity();
656 // FIXME(bokan): setScrollOffset, setScrollPosition, scrollTo, scrollToOffse tWithoutAnimation, 658 // FIXME(bokan): setScrollOffset, setScrollPosition, scrollTo, scrollToOffse tWithoutAnimation,
657 // notifyScrollPositionChanged...there's too many ways to scroll this class. This needs 659 // notifyScrollPositionChanged...there's too many ways to scroll this class. This needs
658 // some cleanup. 660 // some cleanup.
659 void setScrollOffsetFromUpdateScrollbars(const DoubleSize&); 661 void setScrollOffsetFromUpdateScrollbars(const DoubleSize&);
660 662
661 IntRect rectToCopyOnScroll() const; 663 IntRect rectToCopyOnScroll() const;
662 664
663 void updateOverhangAreas(); 665 void updateOverhangAreas();
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 } 839 }
838 840
839 private: 841 private:
840 RawPtrWillBeMember<FrameView> m_view; 842 RawPtrWillBeMember<FrameView> m_view;
841 bool m_originalValue; 843 bool m_originalValue;
842 }; 844 };
843 845
844 } // namespace blink 846 } // namespace blink
845 847
846 #endif // FrameView_h 848 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698