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

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: Restore missing code that was blown away by rebase 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 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 768
769 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst; 769 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c onst;
770 770
771 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&); 771 template <typename Function> void forAllNonThrottledFrameViews(const Functio n&);
772 772
773 void setNeedsUpdateViewportIntersection(); 773 void setNeedsUpdateViewportIntersection();
774 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState); 774 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState targetState);
775 void updateViewportIntersectionIfNeeded(); 775 void updateViewportIntersectionIfNeeded();
776 void notifyRenderThrottlingObservers(); 776 void notifyRenderThrottlingObservers();
777 void updateThrottlingStatus(); 777 void updateThrottlingStatus();
778 void notifyResizeObservers();
778 779
779 // PaintInvalidationCapableScrollableArea 780 // PaintInvalidationCapableScrollableArea
780 LayoutScrollbarPart* resizer() const override { return nullptr; } 781 LayoutScrollbarPart* resizer() const override { return nullptr; }
781 782
782 void checkLayoutInvalidationIsAllowed() const; 783 void checkLayoutInvalidationIsAllowed() const;
783 784
784 LayoutSize m_size; 785 LayoutSize m_size;
785 786
786 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; 787 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
787 EmbeddedObjectSet m_partUpdateSet; 788 EmbeddedObjectSet m_partUpdateSet;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
963 setIsVisuallyNonEmpty(); 964 setIsVisuallyNonEmpty();
964 } 965 }
965 966
966 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
967 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
968 969
969 } // namespace blink 970 } // namespace blink
970 971
971 #endif // FrameView_h 972 #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