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

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

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 private: 608 private:
609 explicit FrameView(LocalFrame*); 609 explicit FrameView(LocalFrame*);
610 610
611 void setScrollOffset(const IntPoint&, ScrollType) override; 611 void setScrollOffset(const IntPoint&, ScrollType) override;
612 void setScrollOffset(const DoublePoint&, ScrollType) override; 612 void setScrollOffset(const DoublePoint&, ScrollType) override;
613 613
614 void updateAllLifecyclePhasesInternal(); 614 void updateAllLifecyclePhasesInternal();
615 void invalidateTreeIfNeededRecursive(); 615 void invalidateTreeIfNeededRecursive();
616 void scrollContentsIfNeededRecursive(); 616 void scrollContentsIfNeededRecursive();
617 void updateStyleAndLayoutIfNeededRecursive(); 617 void updateStyleAndLayoutIfNeededRecursive();
618 void paintAndComposite();
618 void updatePostLifecycleData(); 619 void updatePostLifecycleData();
619 620
620 void reset(); 621 void reset();
621 void init(); 622 void init();
622 623
623 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); 624 void clearLayoutSubtreeRootsAndMarkContainingBlocks();
624 625
625 // Called when our frame rect changes (or the rect/scroll position of an anc estor changes). 626 // Called when our frame rect changes (or the rect/scroll position of an anc estor changes).
626 void frameRectsChanged() override; 627 void frameRectsChanged() override;
627 628
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 static const unsigned visualPixelThreshold = 32 * 32; 869 static const unsigned visualPixelThreshold = 32 * 32;
869 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 870 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
870 setIsVisuallyNonEmpty(); 871 setIsVisuallyNonEmpty();
871 } 872 }
872 873
873 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 874 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
874 875
875 } // namespace blink 876 } // namespace blink
876 877
877 #endif // FrameView_h 878 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698