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

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

Issue 2242773003: Revert of ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst; 767 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst;
768 768
769 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&); 769 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&);
770 770
771 void setNeedsUpdateViewportIntersection(); 771 void setNeedsUpdateViewportIntersection();
772 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState); 772 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState);
773 void updateViewportIntersectionIfNeeded(); 773 void updateViewportIntersectionIfNeeded();
774 void notifyRenderThrottlingObservers(); 774 void notifyRenderThrottlingObservers();
775 void updateThrottlingStatus(); 775 void updateThrottlingStatus();
776 void notifyResizeObservers();
777 776
778 // PaintInvalidationCapableScrollableArea 777 // PaintInvalidationCapableScrollableArea
779 LayoutScrollbarPart* resizer() const override { return nullptr; } 778 LayoutScrollbarPart* resizer() const override { return nullptr; }
780 779
781 void checkLayoutInvalidationIsAllowed() const; 780 void checkLayoutInvalidationIsAllowed() const;
782 781
783 LayoutSize m_size; 782 LayoutSize m_size;
784 783
785 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; 784 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
786 EmbeddedObjectSet m_partUpdateSet; 785 EmbeddedObjectSet m_partUpdateSet;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 958 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
960 setIsVisuallyNonEmpty(); 959 setIsVisuallyNonEmpty();
961 } 960 }
962 961
963 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 962 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
964 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 963 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
965 964
966 } // namespace blink 965 } // namespace blink
967 966
968 #endif // FrameView_h 967 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698