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

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

Issue 2204503002: ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test for moving dom inside eventloop 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 771
772 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst; 772 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst;
773 773
774 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&); 774 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&);
775 775
776 void setNeedsUpdateViewportIntersection(); 776 void setNeedsUpdateViewportIntersection();
777 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState); 777 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState);
778 void updateViewportIntersectionIfNeeded(); 778 void updateViewportIntersectionIfNeeded();
779 void notifyRenderThrottlingObservers(); 779 void notifyRenderThrottlingObservers();
780 void updateThrottlingStatus(); 780 void updateThrottlingStatus();
781 void notifyResizeObserver();
781 782
782 // PaintInvalidationCapableScrollableArea 783 // PaintInvalidationCapableScrollableArea
783 LayoutScrollbarPart* resizer() const override { return nullptr; } 784 LayoutScrollbarPart* resizer() const override { return nullptr; }
784 785
785 void checkLayoutInvalidationIsAllowed() const; 786 void checkLayoutInvalidationIsAllowed() const;
786 787
787 LayoutSize m_size; 788 LayoutSize m_size;
788 789
789 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; 790 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
790 EmbeddedObjectSet m_partUpdateSet; 791 EmbeddedObjectSet m_partUpdateSet;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 964 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
964 setIsVisuallyNonEmpty(); 965 setIsVisuallyNonEmpty();
965 } 966 }
966 967
967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 968 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 969 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
969 970
970 } // namespace blink 971 } // namespace blink
971 972
972 #endif // FrameView_h 973 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698