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

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

Issue 1852633002: Add UMA stats for time in paint+layout, compositing, paint invalidation and paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 }; 642 };
643 643
644 void updateLifecyclePhasesInternal(LifeCycleUpdateOption); 644 void updateLifecyclePhasesInternal(LifeCycleUpdateOption);
645 void invalidateTreeIfNeededRecursive(); 645 void invalidateTreeIfNeededRecursive();
646 void scrollContentsIfNeededRecursive(); 646 void scrollContentsIfNeededRecursive();
647 void updateStyleAndLayoutIfNeededRecursive(); 647 void updateStyleAndLayoutIfNeededRecursive();
648 void updatePaintProperties(); 648 void updatePaintProperties();
649 void synchronizedPaint(); 649 void synchronizedPaint();
650 void synchronizedPaintRecursively(GraphicsLayer*); 650 void synchronizedPaintRecursively(GraphicsLayer*);
651 651
652 void updateStyleAndLayoutIfNeededRecursiveInternal();
653 void invalidateTreeIfNeededRecursiveInternal();
654
652 void pushPaintArtifactToCompositor(); 655 void pushPaintArtifactToCompositor();
653 656
654 void reset(); 657 void reset();
655 void init(); 658 void init();
656 659
657 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); 660 void clearLayoutSubtreeRootsAndMarkContainingBlocks();
658 661
659 // Called when our frame rect changes (or the rect/scroll position of an anc estor changes). 662 // Called when our frame rect changes (or the rect/scroll position of an anc estor changes).
660 void frameRectsChanged() override; 663 void frameRectsChanged() override;
661 664
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 931 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
929 setIsVisuallyNonEmpty(); 932 setIsVisuallyNonEmpty();
930 } 933 }
931 934
932 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 935 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
933 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 936 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
934 937
935 } // namespace blink 938 } // namespace blink
936 939
937 #endif // FrameView_h 940 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698