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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: rebased Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index d06179e4d901857234004f0f1bfc784db82d0b9c..c2adf6110a9c3981d463ee89f68156f26511991b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -39,7 +39,6 @@ namespace blink {
class FrameView;
class PaintLayerCompositor;
class LayoutQuote;
-class LayoutMedia;
class ViewFragmentationContext;
// LayoutView is the root of the layout tree and the Document's LayoutObject.
@@ -232,16 +231,6 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
return false;
}
- // Some LayoutMedias want to know about their viewport visibility for
- // crbug.com/487345,402044 . This facility will be removed once those
- // experiments complete.
- // TODO(ojan): Merge this with IntersectionObserver once it lands.
- void registerMediaForPositionChangeNotification(LayoutMedia&);
- void unregisterMediaForPositionChangeNotification(LayoutMedia&);
- // Notify all registered LayoutMedias that their position on-screen might
- // have changed. visibleRect is the clipping boundary.
- void sendMediaPositionChangeNotifications(const IntRect& visibleRect);
-
// The rootLayerScrolls setting will ultimately determine whether FrameView
// or PaintLayerScrollableArea handle the scroll.
ScrollResult scroll(ScrollGranularity, const FloatSize&) override;
@@ -318,8 +307,6 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
unsigned m_hitTestCount;
unsigned m_hitTestCacheHits;
Persistent<HitTestCache> m_hitTestCache;
-
- Vector<LayoutMedia*> m_mediaForPositionNotification;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMedia.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698